Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.637/1.637, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 46.93 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 63.91 kB / 0.4915 GB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1773, allocations: 65.99 MB / 0.5559 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003871/0.1812, allocations: 1.931 MB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1836, allocations: 1.134 MB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1837, allocations: 7.938 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.1842, allocations: 259.4 kB / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.1847, allocations: 227.2 kB / 0.5594 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.185, allocations: 111.7 kB / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1854, allocations: 275.2 kB / 0.5598 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1855, allocations: 21.67 kB / 0.5598 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1858, allocations: 143.5 kB / 0.5599 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.186, allocations: 211.3 kB / 0.5601 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.186, allocations: 8 kB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1862, allocations: 67.97 kB / 0.5602 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1863, allocations: 59.77 kB / 0.5603 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1864, allocations: 99.22 kB / 0.5604 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1868, allocations: 258.7 kB / 0.5606 GB, free: 480 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1868, allocations: 0 / 0.5606 GB, free: 480 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1868, allocations: 4 kB / 0.5606 GB, free: 476 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1868, allocations: 0 / 0.5606 GB, free: 476 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009576/0.1878, allocations: 0.591 MB / 0.5612 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1878, allocations: 12.02 kB / 0.5612 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.1879, allocations: 32.75 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.1883, allocations: 298.6 kB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1884, allocations: 12.36 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.1884, allocations: 12.12 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1887, allocations: 109 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1887, allocations: 0 / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1887, allocations: 7.938 kB / 0.5617 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1887, allocations: 0 / 0.5617 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1889, allocations: 43.97 kB / 0.5617 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.1896, allocations: 492.7 kB / 0.5622 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.19, allocations: 113.2 kB / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1902, allocations: 37.83 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1902, allocations: 19.88 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.1904, allocations: 121 kB / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1904, allocations: 3.938 kB / 0.5624 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001497/0.1919, allocations: 0.5086 MB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.192, allocations: 85.05 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.1926, allocations: 0.4899 MB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1926, allocations: 29.7 kB / 0.5635 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1928, allocations: 172.4 kB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.1928, allocations: 75.42 kB / 0.5638 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.1929, allocations: 41.7 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1931, allocations: 350.8 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1932, allocations: 59.97 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1934, allocations: 97.47 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.1937, allocations: 159.5 kB / 0.5644 GB, free: 12.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1937, allocations: 8 kB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004275/0.1941, allocations: 229.3 kB / 0.5647 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1941, allocations: 15.88 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1941, allocations: 0 / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1942, allocations: 0 / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1943, allocations: 43.97 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1943, allocations: 0 / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1945, allocations: 12 kB / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1945, allocations: 4 kB / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.1948, allocations: 181.8 kB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.1948, allocations: 39.7 kB / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.1949, allocations: 42.89 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1949, allocations: 0 / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.1949, allocations: 4 kB / 0.565 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1949, allocations: 0 / 0.565 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.196, allocations: 0.7428 MB / 0.5657 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.196, allocations: 192 / 0.5657 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.1961, allocations: 31.92 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1961, allocations: 11.88 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1962, allocations: 8 kB / 0.5658 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1962, allocations: 4 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1962, allocations: 0 / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.1968, allocations: 435.2 kB / 0.5662 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.1969, allocations: 104.9 kB / 0.5663 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.1969, allocations: 12 kB / 0.5663 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1971, allocations: 15.98 kB / 0.5663 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.1972, allocations: 19.92 kB / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.1972, allocations: 15.98 kB / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.1976, allocations: 371.1 kB / 0.5667 GB, free: 9.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1976, allocations: 0 / 0.5667 GB, free: 9.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000521/0.1981, allocations: 47.94 kB / 0.5668 GB, free: 9.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002118/0.2002, allocations: 0.5294 MB / 0.5673 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.2006, allocations: 146.1 kB / 0.5674 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2007, allocations: 0 / 0.5674 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2008, allocations: 75.84 kB / 0.5675 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.2014, allocations: 57.67 kB / 0.5675 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2025, allocations: 0.6097 MB / 0.5681 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.2031, allocations: 0.787 MB / 0.5689 GB, free: 7.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.2032, allocations: 45.92 kB / 0.5689 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.2033, allocations: 27.44 kB / 0.569 GB, free: 7.633 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2033, allocations: 0 / 0.569 GB, free: 7.633 MB / 430.1 MB Notification: Performance of Templates: time 0.008159/0.2115, allocations: 3.228 MB / 0.5721 GB, free: 4.441 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.526783809065819]