Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001503/0.001503, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001292/0.001292, allocations: 167.7 kB / 24.84 MB, free: 9.246 MB / 18.57 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 0.9922/0.9922, allocations: 158.6 MB / 186.7 MB, free: 2.758 MB / 170.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.1776/0.1776, allocations: 32.37 MB / 271.5 MB, free: 14.52 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.307e-05, allocations: 5.406 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001921/0.001944, allocations: 1.683 MB / 350.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.002808, allocations: 0.7765 MB / 351.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.00288, allocations: 0 / 351.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.003155, allocations: 55.81 kB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.003336, allocations: 59.69 kB / 351.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.003523, allocations: 83.7 kB / 351.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003641, allocations: 95.62 kB / 351.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.003675, allocations: 0 / 351.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.003764, allocations: 59.77 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.003824, allocations: 19.92 kB / 351.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.003838, allocations: 4 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.003901, allocations: 35.92 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.003946, allocations: 31.84 kB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.003976, allocations: 15.94 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004108, allocations: 95.66 kB / 352 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004111, allocations: 0 / 352 MB, free: 6.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004112, allocations: 4 kB / 352 MB, free: 6.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004116, allocations: 0 / 352 MB, free: 6.059 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002967/0.004413, allocations: 463.7 kB / 352.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.004443, allocations: 16.03 kB / 352.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.004473, allocations: 16.78 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004583, allocations: 156.4 kB / 352.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004594, allocations: 384 / 352.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.004601, allocations: 384 / 352.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.004685, allocations: 58.94 kB / 352.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.004692, allocations: 3.938 kB / 352.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004699, allocations: 4 kB / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004703, allocations: 0 / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.004725, allocations: 7.984 kB / 352.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.444e-05/0.00482, allocations: 121.3 kB / 352.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.004891, allocations: 51.03 kB / 352.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.00491, allocations: 15.67 kB / 352.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.004922, allocations: 4 kB / 352.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.004988, allocations: 65.05 kB / 353 MB, free: 4.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 5.51e-07/0.004989, allocations: 0 / 353 MB, free: 4.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000129/0.005118, allocations: 89.45 kB / 353 MB, free: 4.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.005138, allocations: 55.41 kB / 353.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.005234, allocations: 261.3 kB / 353.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.005241, allocations: 33.7 kB / 353.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.005276, allocations: 162.8 kB / 353.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.005304, allocations: 19.84 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.005329, allocations: 23.36 kB / 353.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.005385, allocations: 0.5079 MB / 354.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.005396, allocations: 4 kB / 354.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.005416, allocations: 23.36 kB / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.005451, allocations: 39.25 kB / 354.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005453, allocations: 0 / 354.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.522e-05/0.005518, allocations: 77.59 kB / 354.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.00553, allocations: 7.938 kB / 354.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005535, allocations: 4 kB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.005544, allocations: 3.938 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.005605, allocations: 8 kB / 354.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.005608, allocations: 0 / 354.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.005636, allocations: 7.984 kB / 354.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.005641, allocations: 0 / 354.3 MB, free: 3.566 MB / 282.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 (7): * Single equations (assignments): 7 * 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 5.464e-05/0.005696, allocations: 160.6 kB / 354.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.005709, allocations: 15.94 kB / 354.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.192e-05/0.005801, allocations: 90.91 kB / 354.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.005805, allocations: 3.938 kB / 354.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.005808, allocations: 4.375 kB / 354.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.005813, allocations: 3.984 kB / 354.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.454e-05/0.005887, allocations: 117.2 kB / 354.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005889, allocations: 4 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.005902, allocations: 4 kB / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005903, allocations: 0 / 354.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.005909, allocations: 3.984 kB / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00591, allocations: 4 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.005911, allocations: 7.984 kB / 354.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.176e-05/0.005983, allocations: 116.3 kB / 354.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.005995, allocations: 11.91 kB / 354.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.006009, allocations: 11.92 kB / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.006028, allocations: 0 / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.006054, allocations: 8 kB / 354.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.006066, allocations: 7.922 kB / 354.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.006119, allocations: 176.4 kB / 355 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00612, allocations: 0 / 355 MB, free: 2.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.006264, allocations: 23.92 kB / 355 MB, free: 2.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008198/0.007084, allocations: 388.7 kB / 355.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.059e-05/0.007174, allocations: 35.67 kB / 355.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007176, allocations: 3.938 kB / 355.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.007203, allocations: 27.73 kB / 355.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.007374, allocations: 29.09 kB / 355.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.007659, allocations: 225.8 kB / 355.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.007685, allocations: 71.28 kB / 355.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.007714, allocations: 16.73 kB / 355.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.007765, allocations: 86.19 kB / 355.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007765, allocations: 0 / 355.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of Templates: time 0.002999/0.01076, allocations: 1.797 MB / 357.7 MB, free: 124 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.2609484270215034]