Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.00155/0.00155, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001549/0.001549, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.419/1.419, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1989/0.1989, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test79,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.567e-05, allocations: 6.219 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00316/0.003185, allocations: 1.871 MB / 442.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.005143, allocations: 1.08 MB / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.005229, allocations: 0 / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.005702, allocations: 227.2 kB / 443.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.006197, allocations: 223.1 kB / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.006467, allocations: 115.6 kB / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.006822, allocations: 263.2 kB / 444 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.006937, allocations: 25.89 kB / 444 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.007144, allocations: 143.6 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.007356, allocations: 155.7 kB / 444.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.00739, allocations: 8 kB / 444.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.007523, allocations: 71.84 kB / 444.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.00762, allocations: 59.7 kB / 444.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.007691, allocations: 47.8 kB / 444.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.008027, allocations: 239.2 kB / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.008032, allocations: 0 / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.008034, allocations: 0 / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.00804, allocations: 0 / 444.7 MB, free: 3.551 MB / 366.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.0008/0.00884, allocations: 0.5002 MB / 445.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.008874, allocations: 8.031 kB / 445.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.008939, allocations: 32.75 kB / 445.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.009309, allocations: 217.8 kB / 445.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.009329, allocations: 8.375 kB / 445.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.009361, allocations: 12.3 kB / 445.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.009612, allocations: 119.8 kB / 445.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.009636, allocations: 11.89 kB / 445.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.00965, allocations: 4 kB / 445.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.009654, allocations: 0 / 445.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.009794, allocations: 51.95 kB / 445.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.01036, allocations: 408.4 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.01074, allocations: 121.2 kB / 446.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.01086, allocations: 53.75 kB / 446.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.01087, allocations: 4 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.0111, allocations: 117.1 kB / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.0111, allocations: 0 / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.01244, allocations: 0.5132 MB / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.0125, allocations: 88.97 kB / 446.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.01298, allocations: 456.5 kB / 447.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01301, allocations: 29.7 kB / 447.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.01314, allocations: 164.6 kB / 447.6 MB, free: 492 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.01321, allocations: 75.38 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.01328, allocations: 41.7 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.01344, allocations: 346.8 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.17/0.1834, allocations: 56.33 kB / 448.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1836, allocations: 93.19 kB / 448.2 MB, free: 21.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1838, allocations: 165 kB / 448.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1838, allocations: 0 / 448.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004496/0.1843, allocations: 237.4 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1843, allocations: 4.875 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1843, allocations: 1.156 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.1843, allocations: 6.125 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1845, allocations: 45.98 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1845, allocations: 6.797 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.1846, allocations: 10.67 kB / 448.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1846, allocations: 11.27 kB / 448.6 MB, free: 21.27 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.0001536/0.1848, allocations: 168.4 kB / 448.8 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.1848, allocations: 35.06 kB / 448.8 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.1853, allocations: 285.1 kB / 449.1 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1853, allocations: 3.422 kB / 449.1 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1853, allocations: 2.406 kB / 449.1 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1854, allocations: 2.703 kB / 449.1 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.1862, allocations: 0.6799 MB / 449.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1862, allocations: 1.406 kB / 449.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.1863, allocations: 31.19 kB / 449.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1863, allocations: 11.75 kB / 449.9 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1863, allocations: 9.781 kB / 449.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1863, allocations: 6.938 kB / 449.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1863, allocations: 1.75 kB / 449.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.1867, allocations: 443.1 kB / 450.3 MB, free: 20.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1868, allocations: 38.11 kB / 450.3 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1868, allocations: 7.891 kB / 450.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.187, allocations: 13.83 kB / 450.4 MB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.187, allocations: 16.17 kB / 450.4 MB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.1871, allocations: 14.86 kB / 450.4 MB, free: 20.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.1874, allocations: 340.1 kB / 450.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1874, allocations: 3.781 kB / 450.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.1877, allocations: 51.28 kB / 450.8 MB, free: 20.19 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 (24): * Single equations (assignments): 20 * 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.001984/0.1897, allocations: 0.5476 MB / 451.3 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.19, allocations: 158.6 kB / 451.5 MB, free: 19.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.19, allocations: 2.156 kB / 451.5 MB, free: 19.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1902, allocations: 77.73 kB / 451.6 MB, free: 19.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.1907, allocations: 63.52 kB / 451.6 MB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.1915, allocations: 0.572 MB / 452.2 MB, free: 19.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.1916, allocations: 168.8 kB / 452.4 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.349e-05/0.1917, allocations: 47.64 kB / 452.4 MB, free: 19.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.1918, allocations: 33.19 kB / 452.4 MB, free: 19.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1918, allocations: 0 / 452.4 MB, free: 19.49 MB / 366.1 MB Notification: Performance of Templates: time 0.007833/0.1996, allocations: 3.322 MB / 455.8 MB, free: 19.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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: 4.659192956984043]