Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001361/0.001361, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001193/0.001193, allocations: 173 kB / 24.06 MB, free: 452 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.9721/0.9721, allocations: 158.6 MB / 186 MB, free: 2.777 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.1512/0.1512, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.551e-05, allocations: 6.25 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002259/0.002285, allocations: 1.721 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.003205, allocations: 0.792 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.003284, allocations: 4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.003594, allocations: 47.7 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.003782, allocations: 47.77 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.003974, allocations: 87.69 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.004093, allocations: 107.6 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.00418, allocations: 8.219 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.004255, allocations: 47.91 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.004321, allocations: 27.91 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.004337, allocations: 4 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.004405, allocations: 43.92 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.004502, allocations: 23.86 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.004537, allocations: 23.86 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.004673, allocations: 99.64 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004674, allocations: 0 / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004675, allocations: 0 / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004679, allocations: 0 / 351.3 MB, free: 5.996 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.000324/0.005003, allocations: 443.9 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.005038, allocations: 16.02 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.005073, allocations: 16.84 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.005184, allocations: 157.7 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005197, allocations: 384 / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.005214, allocations: 4.375 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.005304, allocations: 58.94 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.005313, allocations: 3.938 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-06/0.005319, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005325, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.00535, allocations: 11.98 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.005557, allocations: 268.4 kB / 352.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.00563, allocations: 55.11 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.005649, allocations: 15.69 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.005662, allocations: 0 / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/0.005743, allocations: 72.95 kB / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005744, allocations: 0 / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000278/0.006022, allocations: 129.5 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.00604, allocations: 55.41 kB / 352.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.006126, allocations: 235.9 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.006133, allocations: 29.7 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.006167, allocations: 154.8 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.006189, allocations: 31.78 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.006215, allocations: 27.36 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.006263, allocations: 0.4962 MB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.006278, allocations: 7.984 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.0063, allocations: 35.34 kB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.006335, allocations: 39.38 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006336, allocations: 0 / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.902e-05/0.006415, allocations: 97.53 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.006428, allocations: 7.984 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.006433, allocations: 80 / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006446, allocations: 4 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.006504, allocations: 19.94 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006508, allocations: 3.984 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.006535, allocations: 4 kB / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.00654, allocations: 3.984 kB / 353.7 MB, free: 3.316 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 5.244e-05/0.006593, allocations: 160.6 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.006607, allocations: 23.86 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.006741, allocations: 99.06 kB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.006743, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.006746, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.006751, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.006971, allocations: 365.5 kB / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006972, allocations: 0 / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.006998, allocations: 11.98 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007001, allocations: 384 / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.00701, allocations: 8 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007012, allocations: 8.031 kB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007013, allocations: 0 / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.007124, allocations: 251.4 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.007136, allocations: 11.91 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.007151, allocations: 0 / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.007193, allocations: 11.98 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.007222, allocations: 3.938 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.007235, allocations: 4 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.007292, allocations: 167.8 kB / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007292, allocations: 0 / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.007466, allocations: 23.94 kB / 354.9 MB, free: 2.109 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.0008463/0.008312, allocations: 439.4 kB / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.565e-05/0.008398, allocations: 55.52 kB / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0084, allocations: 0 / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.00843, allocations: 27.83 kB / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.008649, allocations: 35.97 kB / 355.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.008923, allocations: 225.2 kB / 355.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.771e-05/0.008951, allocations: 67.34 kB / 355.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.325e-05/0.008984, allocations: 16.48 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.009039, allocations: 90.12 kB / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00904, allocations: 0 / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Templates: time 0.003236/0.01228, allocations: 2.019 MB / 357.8 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.1442998880520463]