Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009353/0.0009353, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.0009973/0.0009973, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.2776/0.2776, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.524e-05, allocations: 6.25 kB / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003539/0.003565, allocations: 1.929 MB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.005722, allocations: 1.087 MB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.005868, allocations: 7.938 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.006455, allocations: 259.2 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.007079, allocations: 231 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.007447, allocations: 127.5 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.007842, allocations: 279.2 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.007971, allocations: 17.95 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.008232, allocations: 155.6 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.008508, allocations: 191.6 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.008546, allocations: 11.98 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.008724, allocations: 67.86 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.00882, allocations: 75.69 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.008895, allocations: 39.81 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.009237, allocations: 207.1 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.009242, allocations: 3.984 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009244, allocations: 0 / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.00925, allocations: 0 / 381.2 MB, free: 15.62 MB / 362.7 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.0007507/0.01, allocations: 0.6195 MB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.01005, allocations: 8.031 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.01013, allocations: 44.7 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.01042, allocations: 230.9 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.01044, allocations: 12.36 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.01047, allocations: 8.375 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.01068, allocations: 114.2 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.0107, allocations: 3.938 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.01071, allocations: 0 / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.01071, allocations: 8 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.0108, allocations: 27.91 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.01138, allocations: 479.2 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.0117, allocations: 117.9 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.01176, allocations: 35.61 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.01178, allocations: 3.938 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.01196, allocations: 118.9 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.01196, allocations: 4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001116/0.01308, allocations: 373.6 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.01312, allocations: 85.05 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.01349, allocations: 418.5 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.01351, allocations: 33.7 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.01366, allocations: 235.2 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.01374, allocations: 67.42 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.01381, allocations: 47.34 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.01399, allocations: 0.5429 MB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.01405, allocations: 23.98 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.01414, allocations: 74.69 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.01428, allocations: 106.7 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01429, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002887/0.01457, allocations: 189.5 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.0146, allocations: 10.12 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.0146, allocations: 8.062 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01462, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01477, allocations: 43.98 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01477, allocations: 0 / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.01485, allocations: 11.92 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01487, allocations: 12 kB / 385.3 MB, free: 11.29 MB / 362.7 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.0001262/0.01499, allocations: 168.5 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.01505, allocations: 39.77 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.01546, allocations: 229 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01547, allocations: 0 / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.01547, allocations: 12 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.01548, allocations: 7.922 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.01627, allocations: 0.6948 MB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01628, allocations: 3.938 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.01637, allocations: 31.98 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.01638, allocations: 3.938 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.0164, allocations: 8 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.0164, allocations: 8.062 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.0164, allocations: 7.984 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.01683, allocations: 0.4965 MB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.01687, allocations: 35.7 kB / 387 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.01691, allocations: 8 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.01706, allocations: 11.98 kB / 387 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.01711, allocations: 19.97 kB / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.01714, allocations: 8 kB / 387.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.01735, allocations: 275 kB / 387.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01736, allocations: 0 / 387.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000385/0.01774, allocations: 59.92 kB / 387.4 MB, free: 9.078 MB / 362.7 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.001428/0.01917, allocations: 487.3 kB / 387.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.01943, allocations: 120.1 kB / 388 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01943, allocations: 4.062 kB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01954, allocations: 71.52 kB / 388.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.0201, allocations: 74.94 kB / 388.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008856/0.02099, allocations: 0.5208 MB / 388.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.02108, allocations: 104.3 kB / 388.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.0212, allocations: 45.83 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.02137, allocations: 118.2 kB / 388.9 MB, free: 7.656 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02137, allocations: 4 kB / 388.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of Templates: time 0.008357/0.02972, allocations: 3.681 MB / 392.6 MB, free: 4.027 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1818650658242404]