Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.00109/0.00109, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005099/0.005099, allocations: 160.9 kB / 24.69 MB, free: 8.891 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 0.8842/0.8842, allocations: 177.2 MB / 205 MB, free: 5.738 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.2551/0.2551, allocations: 32.79 MB / 294.2 MB, free: 1.215 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.878e-05, allocations: 2.281 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001991/0.002009, allocations: 1.666 MB / 442.6 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.0031, allocations: 0.9664 MB / 443.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.003169, allocations: 0 / 443.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.003439, allocations: 51.77 kB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.00372, allocations: 111.5 kB / 443.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.00387, allocations: 71.61 kB / 443.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004009, allocations: 99.69 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.004048, allocations: 8.172 kB / 443.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.004129, allocations: 59.77 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.004195, allocations: 23.91 kB / 444 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004209, allocations: 4 kB / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.004273, allocations: 24 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.00433, allocations: 31.91 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.004367, allocations: 23.86 kB / 444.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.004527, allocations: 115.6 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004529, allocations: 4 kB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004529, allocations: 0 / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004533, allocations: 0 / 444.2 MB, free: 396 kB / 410.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.1678/0.1723, allocations: 369 kB / 444.5 MB, free: 46.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1724, allocations: 13.22 kB / 444.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1724, allocations: 18.22 kB / 444.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1727, allocations: 150.8 kB / 444.7 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1727, allocations: 5.438 kB / 444.7 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1727, allocations: 384 / 444.7 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1728, allocations: 56.69 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1728, allocations: 3.781 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1728, allocations: 1.688 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1729, allocations: 0.7188 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.1729, allocations: 18.45 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.173, allocations: 143.9 kB / 444.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1731, allocations: 51.41 kB / 445 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.1732, allocations: 18.45 kB / 445 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1732, allocations: 4.531 kB / 445 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.1733, allocations: 70.59 kB / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1733, allocations: 0 / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001943/0.1735, allocations: 106.2 kB / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.1735, allocations: 56.84 kB / 445.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1737, allocations: 278.8 kB / 445.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.1737, allocations: 25.7 kB / 445.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.1737, allocations: 114.1 kB / 445.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1737, allocations: 14.59 kB / 445.7 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.1738, allocations: 19.95 kB / 445.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.1738, allocations: 326 kB / 446 MB, free: 45.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.1738, allocations: 18.05 kB / 446 MB, free: 45.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.1738, allocations: 28.89 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.1739, allocations: 50.55 kB / 446.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1739, allocations: 2.297 kB / 446.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.504e-05/0.174, allocations: 93.59 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.174, allocations: 5.875 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.174, allocations: 0 / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.174, allocations: 0 / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.1741, allocations: 15.56 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1741, allocations: 6.875 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.1741, allocations: 6.766 kB / 446.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1741, allocations: 0 / 446.2 MB, free: 45.62 MB / 410.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 6.223e-05/0.1742, allocations: 138.3 kB / 446.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1742, allocations: 20.62 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1743, allocations: 106.4 kB / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1743, allocations: 0 / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1743, allocations: 0 / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1743, allocations: 10.56 kB / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.1744, allocations: 136.1 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1744, allocations: 3.422 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.1744, allocations: 5.719 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1744, allocations: 0 / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1744, allocations: 6.812 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1744, allocations: 3.625 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1744, allocations: 5.391 kB / 446.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.1745, allocations: 121.5 kB / 446.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.1745, allocations: 13.64 kB / 446.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1745, allocations: 2.938 kB / 446.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.1746, allocations: 0 / 446.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.1746, allocations: 14.12 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1746, allocations: 2.906 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.687e-05/0.1747, allocations: 211.5 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1747, allocations: 3.312 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000144/0.1748, allocations: 18.69 kB / 447 MB, free: 45.14 MB / 410.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.0006958/0.1755, allocations: 446.5 kB / 447.5 MB, free: 45.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1756, allocations: 40.42 kB / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1756, allocations: 0 / 447.5 MB, free: 45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.1757, allocations: 22.23 kB / 447.5 MB, free: 44.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1759, allocations: 32.77 kB / 447.6 MB, free: 44.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.1762, allocations: 293.2 kB / 447.8 MB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.306e-05/0.1763, allocations: 109.3 kB / 448 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1763, allocations: 18.94 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1763, allocations: 0 / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of Templates: time 0.002396/0.1787, allocations: 1.959 MB / 449.9 MB, free: 44.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.82110280636698]