Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001861/0.001861, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.99/1.99, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3344/0.3344, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003824/0.003824, allocations: 76.84 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1618, allocations: 62.44 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.005692/0.1675, allocations: 1.98 MB / 481.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.1706, allocations: 1.111 MB / 483 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1707, allocations: 3.938 kB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.1713, allocations: 155.7 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006072/0.172, allocations: 163.4 kB / 483.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.1724, allocations: 99.77 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.1728, allocations: 231.3 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.173, allocations: 29.67 kB / 483.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1733, allocations: 103.5 kB / 483.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.1736, allocations: 131.4 kB / 483.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1737, allocations: 8 kB / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1739, allocations: 55.98 kB / 484 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.174, allocations: 51.81 kB / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1741, allocations: 83.34 kB / 484.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.1745, allocations: 160 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1746, allocations: 4 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1746, allocations: 0 / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1746, allocations: 3.938 kB / 484.3 MB, free: 1.312 MB / 350.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.001137/0.1758, allocations: 0.5371 MB / 484.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.1758, allocations: 8.031 kB / 484.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.176, allocations: 24.66 kB / 484.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.1764, allocations: 283.4 kB / 485.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1765, allocations: 4.375 kB / 485.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.1765, allocations: 12.12 kB / 485.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.177, allocations: 110.3 kB / 485.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.177, allocations: 0 / 485.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.1771, allocations: 11.98 kB / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1771, allocations: 0 / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.1774, allocations: 43.91 kB / 485.3 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1784, allocations: 476.7 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.179, allocations: 121.2 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1792, allocations: 41.83 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1792, allocations: 8 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005193/0.1798, allocations: 120.4 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.056e-06/0.1798, allocations: 0 / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002404/0.1822, allocations: 0.4965 MB / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.1823, allocations: 81.11 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.183, allocations: 367.3 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.1831, allocations: 33.7 kB / 487 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.1833, allocations: 148.5 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1835, allocations: 67.09 kB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1836, allocations: 41.7 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1839, allocations: 346.8 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1841, allocations: 55.97 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.1844, allocations: 91.34 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.185, allocations: 163.4 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.185, allocations: 4 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007509/0.1858, allocations: 229.1 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1858, allocations: 11.94 kB / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1858, allocations: 0 / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1859, allocations: 4 kB / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.1862, allocations: 43.91 kB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.1862, allocations: 4 kB / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.1864, allocations: 11.94 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1865, allocations: 12.06 kB / 488.2 MB, free: 13.08 MB / 366.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.0002215/0.1867, allocations: 166.3 kB / 488.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1868, allocations: 31.56 kB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.187, allocations: 37.83 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.187, allocations: 0 / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.187, allocations: 4 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.187, allocations: 3.984 kB / 488.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.1888, allocations: 0.7272 MB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1889, allocations: 4 kB / 489.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.189, allocations: 27.98 kB / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.189, allocations: 0 / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.1891, allocations: 12.12 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1891, allocations: 4 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.1891, allocations: 7.938 kB / 489.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.19, allocations: 421.3 kB / 489.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.1902, allocations: 100.8 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.1903, allocations: 8 kB / 489.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.1906, allocations: 15.98 kB / 489.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1907, allocations: 23.86 kB / 489.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.1908, allocations: 12.17 kB / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005325/0.1914, allocations: 277.9 kB / 490.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1914, allocations: 3.938 kB / 490.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001068/0.1924, allocations: 51.98 kB / 490.1 MB, free: 11.04 MB / 366.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.002575/0.195, allocations: 0.492 MB / 490.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007017/0.1958, allocations: 155.8 kB / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1958, allocations: 0 / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1961, allocations: 84.28 kB / 490.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.1974, allocations: 64.97 kB / 490.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.1991, allocations: 0.5941 MB / 491.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.1997, allocations: 0.7638 MB / 492.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1998, allocations: 31.42 kB / 492.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of SimCode: time 2.755e-06/0.1998, allocations: 4 kB / 492.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of Templates: time 0.01097/0.2108, allocations: 3.586 MB / 495.9 MB, free: 5.383 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches