Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001622/0.001622, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001259/0.001259, allocations: 169 kB / 24.24 MB, free: 312 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.9666/0.9666, allocations: 158.6 MB / 186 MB, free: 2.902 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.1369/0.1369, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.022e-05, allocations: 6.25 kB / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003334/0.003354, allocations: 1.737 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.004313, allocations: 0.7959 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.004388, allocations: 0 / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.004684, allocations: 43.72 kB / 350.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.004878, allocations: 51.77 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.005075, allocations: 91.69 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.005221, allocations: 99.61 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.005309, allocations: 8.234 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.005385, allocations: 47.84 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.005454, allocations: 23.91 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.005473, allocations: 4 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.005552, allocations: 43.92 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.005601, allocations: 23.92 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.00564, allocations: 23.91 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.005811, allocations: 103.5 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005813, allocations: 4 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005814, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005818, allocations: 0 / 350.8 MB, free: 6.586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004078/0.006226, allocations: 439.9 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.006261, allocations: 12.03 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.006309, allocations: 8.891 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.006447, allocations: 148.4 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.006461, allocations: 4.375 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.006479, allocations: 8.266 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.006579, allocations: 62.94 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.006588, allocations: 7.938 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.006597, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006603, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.006636, allocations: 15.98 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.006864, allocations: 275.8 kB / 351.8 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.192e-05/0.006956, allocations: 59.09 kB / 351.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.006985, allocations: 23.62 kB / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.006996, allocations: 0 / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/0.007077, allocations: 69.05 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.007078, allocations: 0 / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003521/0.00743, allocations: 157.3 kB / 352.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.007453, allocations: 51.41 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.007547, allocations: 224.1 kB / 352.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.007555, allocations: 29.64 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.007591, allocations: 150.9 kB / 352.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.007612, allocations: 27.75 kB / 352.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.00764, allocations: 31.36 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.007689, allocations: 0.4923 MB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.007711, allocations: 24.31 kB / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.007741, allocations: 27.36 kB / 353.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.007795, allocations: 59.3 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.007796, allocations: 4 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.797e-05/0.007884, allocations: 89.56 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.007895, allocations: 4 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007901, allocations: 3.984 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.007914, allocations: 0 / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.007982, allocations: 19.98 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.007988, allocations: 4.031 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.008013, allocations: 3.938 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00802, allocations: 8 kB / 353.3 MB, free: 3.859 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 (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 4.954e-05/0.008069, allocations: 160.5 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.008084, allocations: 19.91 kB / 353.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.008212, allocations: 106.5 kB / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.008215, allocations: 4 kB / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.008218, allocations: 0 / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.008221, allocations: 0 / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.00843, allocations: 393 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.008432, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.008453, allocations: 11.98 kB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008454, allocations: 0 / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.008462, allocations: 4 kB / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.008463, allocations: 0 / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.008463, allocations: 0 / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.896e-05/0.008562, allocations: 259.4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.00857, allocations: 7.953 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.008585, allocations: 4 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.008623, allocations: 7.984 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.008652, allocations: 8.031 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.008663, allocations: 11.98 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.008716, allocations: 167.9 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008716, allocations: 0 / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.008877, allocations: 27.94 kB / 354.5 MB, free: 2.605 MB / 282.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.0007991/0.009676, allocations: 433.4 kB / 354.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.009783, allocations: 59.53 kB / 355 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009784, allocations: 0 / 355 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.009818, allocations: 31.73 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.01004, allocations: 31.89 kB / 355 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.01032, allocations: 221.6 kB / 355.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.01035, allocations: 67.34 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.01038, allocations: 20.47 kB / 355.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.01041, allocations: 16.5 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01041, allocations: 4.062 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of Templates: time 0.003072/0.01348, allocations: 1.844 MB / 357.2 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.2804226600565016]