Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.0009134/0.0009134, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.00198, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007384/0.0007384, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001709, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.096/1.096, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1829/1.279, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.35 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02356/0.1664, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.242e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001952/0.001964, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.002864, allocations: 0.8076 MB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.002923, allocations: 0 / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.003144, allocations: 99.5 kB / 270 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.003302, allocations: 83.7 kB / 270.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.003494, allocations: 83.64 kB / 270.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.003646, allocations: 115.7 kB / 270.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.364e-05/0.00372, allocations: 8.172 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.003833, allocations: 87.81 kB / 270.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.003922, allocations: 55.86 kB / 270.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003938, allocations: 4 kB / 270.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.004012, allocations: 39.94 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.004053, allocations: 23.86 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.004086, allocations: 15.94 kB / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.004241, allocations: 99.59 kB / 270.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.004256, allocations: 4 kB / 270.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004257, allocations: 0 / 270.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.004271, allocations: 4 kB / 270.6 MB, free: 3.133 MB / 266.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.0004273/0.004698, allocations: 347.7 kB / 270.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.004727, allocations: 8.031 kB / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.004758, allocations: 8.922 kB / 270.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.0049, allocations: 149.6 kB / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.004916, allocations: 8.375 kB / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004931, allocations: 384 / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.00503, allocations: 61.7 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005041, allocations: 7.938 kB / 271.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.005049, allocations: 4 kB / 271.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005054, allocations: 4 kB / 271.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.005079, allocations: 7.984 kB / 271.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.005277, allocations: 162 kB / 271.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.005373, allocations: 93.28 kB / 271.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.005393, allocations: 12.86 kB / 271.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.005403, allocations: 0 / 271.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.005506, allocations: 70.16 kB / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005507, allocations: 0 / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002833/0.00579, allocations: 117.5 kB / 271.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.00582, allocations: 55.41 kB / 271.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.005923, allocations: 188.2 kB / 271.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.005935, allocations: 25.7 kB / 271.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.005968, allocations: 100.1 kB / 272 MB, free: 1.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.005992, allocations: 23.8 kB / 272 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.006025, allocations: 25.69 kB / 272 MB, free: 1.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.006104, allocations: 326.8 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.00612, allocations: 10.83 kB / 272.4 MB, free: 1.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.006144, allocations: 25.64 kB / 272.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.006187, allocations: 48.58 kB / 272.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.006188, allocations: 0 / 272.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.767e-05/0.006266, allocations: 80.36 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006277, allocations: 4 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.006283, allocations: 4 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.006292, allocations: 3.938 kB / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.006357, allocations: 15.98 kB / 272.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006359, allocations: 4 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.006384, allocations: 0 / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.00639, allocations: 8.031 kB / 272.5 MB, free: 0.9805 MB / 266.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 6.121e-05/0.006451, allocations: 124.6 kB / 272.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.006463, allocations: 7.938 kB / 272.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.006557, allocations: 75.12 kB / 272.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006559, allocations: 4 kB / 272.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.006561, allocations: 0 / 272.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006564, allocations: 0 / 272.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.00678, allocations: 299.4 kB / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006781, allocations: 0 / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.006809, allocations: 19.95 kB / 273.1 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.00682, allocations: 11.95 kB / 273.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006823, allocations: 0 / 273.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.006828, allocations: 0 / 273.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006829, allocations: 0 / 273.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.006831, allocations: 4 kB / 273.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.006937, allocations: 219 kB / 273.3 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.006951, allocations: 384 / 273.3 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.006988, allocations: 4 kB / 273.3 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.007013, allocations: 7.984 kB / 273.3 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.007024, allocations: 8 kB / 273.3 MB, free: 156 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.00707, allocations: 64.69 kB / 273.4 MB, free: 88 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00707, allocations: 0 / 273.4 MB, free: 88 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.007218, allocations: 27.92 kB / 273.4 MB, free: 60 kB / 266.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.001316/0.008534, allocations: 0.6322 MB / 274 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.00866, allocations: 44.78 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.008671, allocations: 7.938 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.008709, allocations: 32.77 kB / 274.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.00889, allocations: 47.72 kB / 274.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.009459, allocations: 230.6 kB / 274.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.094e-05/0.00952, allocations: 71.33 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.009565, allocations: 12.94 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.009641, allocations: 67.36 kB / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.009642, allocations: 0 / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of Templates: time 0.003868/0.01351, allocations: 2.036 MB / 276.6 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.020673044025898]