Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001032/0.001032, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001277/0.001277, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 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.8737/0.8737, allocations: 158.6 MB / 186 MB, free: 2.75 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.1404/0.1404, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.254e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002656/0.002678, allocations: 1.927 MB / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1551/0.1578, allocations: 0.8404 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.158, allocations: 6.375 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1583, allocations: 43.25 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1586, allocations: 61.94 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1589, allocations: 105.9 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1591, allocations: 141.5 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1592, allocations: 24.25 kB / 302.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1593, allocations: 75.41 kB / 302.4 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1594, allocations: 42.72 kB / 302.4 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1594, allocations: 11.12 kB / 302.4 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.1595, allocations: 41.95 kB / 302.5 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.1596, allocations: 30.08 kB / 302.5 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.1596, allocations: 27.92 kB / 302.5 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1599, allocations: 119.8 kB / 302.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1599, allocations: 3.938 kB / 302.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1599, allocations: 1.219 kB / 302.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1599, allocations: 0 / 302.6 MB, free: 19.06 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004095/0.1603, allocations: 381.9 kB / 303 MB, free: 18.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1603, allocations: 10.75 kB / 303 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.1604, allocations: 15.72 kB / 303 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1605, allocations: 159.1 kB / 303.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1605, allocations: 8.25 kB / 303.2 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1606, allocations: 10.84 kB / 303.2 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1607, allocations: 131.8 kB / 303.3 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1607, allocations: 3.938 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1607, allocations: 4.75 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1607, allocations: 2.969 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.1608, allocations: 25.44 kB / 303.4 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1611, allocations: 374.1 kB / 303.7 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1613, allocations: 105.7 kB / 303.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.1613, allocations: 20.58 kB / 303.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1614, allocations: 3.062 kB / 303.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.1615, allocations: 96.64 kB / 304 MB, free: 17.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.1615, allocations: 0 / 304 MB, free: 17.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001474/0.1616, allocations: 74.22 kB / 304 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1616, allocations: 57.73 kB / 304.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1618, allocations: 179.5 kB / 304.3 MB, free: 17.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1618, allocations: 29.77 kB / 304.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.1618, allocations: 110.2 kB / 304.4 MB, free: 17.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1618, allocations: 30.91 kB / 304.4 MB, free: 17.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1619, allocations: 29.39 kB / 304.5 MB, free: 17.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.1619, allocations: 332.6 kB / 304.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.1619, allocations: 12.14 kB / 304.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.162, allocations: 43.3 kB / 304.8 MB, free: 17.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.162, allocations: 70.8 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.162, allocations: 0 / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001299/0.1622, allocations: 93.62 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1622, allocations: 6.328 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1622, allocations: 1.906 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1622, allocations: 2.219 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.1623, allocations: 24.06 kB / 305 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1623, allocations: 7.562 kB / 305 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.1623, allocations: 16.59 kB / 305 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1623, allocations: 4.672 kB / 305.1 MB, free: 17.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.585e-05/0.1624, allocations: 121.3 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.1624, allocations: 22.16 kB / 305.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1625, allocations: 72.34 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1625, allocations: 3.094 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1625, allocations: 2.062 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1625, allocations: 0.5156 kB / 305.3 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.582e-05/0.1626, allocations: 92.88 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1626, allocations: 5.312 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1627, allocations: 18.84 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1627, allocations: 1.609 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1627, allocations: 1.859 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1627, allocations: 5.188 kB / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1627, allocations: 0 / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.1628, allocations: 114 kB / 305.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.1628, allocations: 24.98 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1629, allocations: 6.094 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.095e-05/0.1629, allocations: 5.703 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.1629, allocations: 8.906 kB / 305.5 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1629, allocations: 3.047 kB / 305.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.041e-05/0.163, allocations: 55.03 kB / 305.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.163, allocations: 0 / 305.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.1631, allocations: 30.38 kB / 305.6 MB, free: 16.78 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001038/0.1642, allocations: 0.5085 MB / 306.1 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.1643, allocations: 52.23 kB / 306.2 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1643, allocations: 5.031 kB / 306.2 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.1643, allocations: 27.06 kB / 306.2 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.1645, allocations: 47.61 kB / 306.3 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.1649, allocations: 259.3 kB / 306.5 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.1649, allocations: 70.61 kB / 306.6 MB, free: 16.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.1649, allocations: 12.61 kB / 306.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.165, allocations: 80.56 kB / 306.7 MB, free: 16.17 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.165, allocations: 0 / 306.7 MB, free: 16.17 MB / 282.7 MB Notification: Performance of Templates: time 0.004577/0.1696, allocations: 2.198 MB / 308.9 MB, free: 15.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 2.935771333053708]