Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009825/0.0009825, allocations: 79.58 kB / 21.18 MB, free: 3.387 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.0008936/0.0008936, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2969/0.2969, allocations: 34.26 MB / 295.7 MB, free: 0.7812 MB / 266.7 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.29e-05/4.524e-05, allocations: 2.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003424/0.00347, allocations: 1.766 MB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.005495, allocations: 1.738 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.005573, allocations: 0 / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.005876, allocations: 35.83 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.006201, allocations: 107.4 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.006351, allocations: 79.61 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.006505, allocations: 111.6 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.006603, allocations: 8 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.006694, allocations: 59.77 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.006806, allocations: 31.89 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.006828, allocations: 8 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.006989, allocations: 103.8 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.007051, allocations: 19.92 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.007104, allocations: 31.91 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.007378, allocations: 159.4 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.007384, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.007386, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.007392, allocations: 0 / 382.4 MB, free: 14.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005223/0.007914, allocations: 451.8 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.007951, allocations: 8.031 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.008004, allocations: 12.89 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.008184, allocations: 149 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.008203, allocations: 4.375 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.008245, allocations: 12.31 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.0084, allocations: 107.4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.00841, allocations: 3.953 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.00842, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.008427, allocations: 4 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.008464, allocations: 15.97 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.008754, allocations: 283.8 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.008857, allocations: 55.11 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.00889, allocations: 23.67 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.008905, allocations: 4 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.009008, allocations: 69.05 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.009009, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.009401, allocations: 153.3 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.009441, allocations: 81.11 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.00957, allocations: 216.8 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.009584, allocations: 29.69 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.009636, allocations: 146.8 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.009669, allocations: 27.78 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.009715, allocations: 31.38 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.009843, allocations: 0.5 MB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.009873, allocations: 11.98 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.009919, allocations: 64.77 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.009977, allocations: 51.42 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.00998, allocations: 4 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001152/0.01009, allocations: 89.52 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01011, allocations: 8 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01012, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.01014, allocations: 8 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.01022, allocations: 23.92 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01023, allocations: 4 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.01026, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.01026, allocations: 4 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.294e-05/0.01035, allocations: 168.5 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.01036, allocations: 11.95 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.01052, allocations: 98.39 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01052, allocations: 0 / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01052, allocations: 7.984 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01053, allocations: 4 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.01082, allocations: 388.9 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01082, allocations: 0 / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.01085, allocations: 8 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01085, allocations: 7.984 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.01086, allocations: 0 / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01086, allocations: 0 / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01086, allocations: 4 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.011, allocations: 259.4 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.01101, allocations: 4.328 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.01102, allocations: 8.031 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.01107, allocations: 11.98 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.0111, allocations: 11.88 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01112, allocations: 7.984 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.01119, allocations: 162 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 0 / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.01138, allocations: 43.88 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001107/0.01249, allocations: 0.551 MB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01261, allocations: 47.61 kB / 386.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01261, allocations: 4.062 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.01265, allocations: 31.67 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01286, allocations: 42.84 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.01318, allocations: 206.2 kB / 387 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.01321, allocations: 63.34 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.01325, allocations: 20.95 kB / 387.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.01329, allocations: 24.56 kB / 387.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01329, allocations: 4 kB / 387.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of Templates: time 0.003918/0.01721, allocations: 2.52 MB / 389.7 MB, free: 6.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.478332922793925]