Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001093/0.001093, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001226/0.001226, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.04e-05, allocations: 3.781 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002294/0.002325, allocations: 1.761 MB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003475, allocations: 0.9981 MB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.003543, allocations: 0 / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.003802, allocations: 67.7 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.004066, allocations: 99.53 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.004239, allocations: 75.61 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.004387, allocations: 116.1 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.004426, allocations: 8.172 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.004515, allocations: 55.83 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.004602, allocations: 39.88 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.004615, allocations: 4 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.004682, allocations: 35.94 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.004725, allocations: 19.91 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.004758, allocations: 19.92 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004908, allocations: 87.61 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00491, allocations: 4 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004911, allocations: 4 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.004914, allocations: 0 / 328.8 MB, free: 4.152 MB / 298.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.0003245/0.005238, allocations: 313.6 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.005271, allocations: 8.031 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.005298, allocations: 4.938 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.005435, allocations: 151.4 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.005449, allocations: 4.375 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.005456, allocations: 384 / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.005546, allocations: 65.69 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.005553, allocations: 3.938 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.005559, allocations: 4 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005565, allocations: 4 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.005584, allocations: 4 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.353e-05/0.005668, allocations: 74.69 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.005743, allocations: 37.42 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.00576, allocations: 12.86 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.00577, allocations: 0 / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.09e-05/0.005851, allocations: 66.16 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005852, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001063/0.005958, allocations: 57.67 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.005983, allocations: 55.34 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.006081, allocations: 181.3 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006094, allocations: 29.7 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.00612, allocations: 92.11 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.006148, allocations: 15.84 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.006178, allocations: 25.69 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.006258, allocations: 322.8 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.006275, allocations: 10.77 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.006294, allocations: 21.7 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.006332, allocations: 39.61 kB / 330.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006334, allocations: 3.938 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.345e-05/0.006397, allocations: 64.44 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006408, allocations: 4 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006412, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.006424, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.006479, allocations: 19.92 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.006482, allocations: 0 / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.00651, allocations: 4 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.006514, allocations: 4.031 kB / 330.4 MB, free: 2.305 MB / 298.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.537e-05/0.006579, allocations: 120.6 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.006589, allocations: 7.984 kB / 330.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.006672, allocations: 58.83 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.006675, allocations: 4 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.006677, allocations: 3.938 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006681, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.006756, allocations: 81.86 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006757, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.006774, allocations: 4 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.006779, allocations: 8 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.006788, allocations: 7.984 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006789, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.00679, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.321e-05/0.006864, allocations: 86.77 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.00688, allocations: 11.97 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.006896, allocations: 8 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.006918, allocations: 7.984 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.006945, allocations: 3.984 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.006956, allocations: 4 kB / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.007004, allocations: 59.58 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007004, allocations: 4 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.007122, allocations: 15.94 kB / 330.9 MB, free: 1.758 MB / 298.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.001173/0.008295, allocations: 0.4942 MB / 331.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.008393, allocations: 32.78 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.008397, allocations: 0 / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.008424, allocations: 16.86 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.008571, allocations: 41.45 kB / 331.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.008887, allocations: 214.7 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.008922, allocations: 63.34 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.088e-05/0.008953, allocations: 12.48 kB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.009011, allocations: 59.38 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009011, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of Templates: time 0.003183/0.01219, allocations: 1.774 MB / 333.6 MB, free: 15.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.92833341518417]