Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2443/0.2443, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.88 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4416, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003712/0.4453, allocations: 1.668 MB / 0.5505 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.4463, allocations: 463.2 kB / 0.5509 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.4464, allocations: 1.594 kB / 0.5509 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.4466, allocations: 48.62 kB / 0.551 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.4469, allocations: 53 kB / 0.551 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.4473, allocations: 177.5 kB / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.4475, allocations: 85.11 kB / 0.5513 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.4476, allocations: 13.34 kB / 0.5513 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.4477, allocations: 42.19 kB / 0.5513 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4478, allocations: 44.77 kB / 0.5514 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.4479, allocations: 3.812 kB / 0.5514 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.448, allocations: 47.08 kB / 0.5514 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.448, allocations: 27.84 kB / 0.5514 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.4481, allocations: 25.59 kB / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.4483, allocations: 97.8 kB / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4483, allocations: 1.125 kB / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4483, allocations: 0 / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4483, allocations: 0 / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006009/0.4489, allocations: 342.7 kB / 0.5519 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.449, allocations: 10.27 kB / 0.5519 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.449, allocations: 10.3 kB / 0.5519 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.4492, allocations: 136 kB / 0.552 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4493, allocations: 7.469 kB / 0.552 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.4493, allocations: 5.891 kB / 0.552 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.4495, allocations: 65.64 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4495, allocations: 0 / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4495, allocations: 5.406 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4495, allocations: 1.094 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.4497, allocations: 48.83 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.4502, allocations: 280.3 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.4505, allocations: 62.73 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.4506, allocations: 29.72 kB / 0.5525 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4506, allocations: 5.156 kB / 0.5525 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4507, allocations: 30.56 kB / 0.5525 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.4507, allocations: 1.219 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001654/0.4523, allocations: 424.6 kB / 0.553 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4524, allocations: 56.66 kB / 0.553 GB, free: 9.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.4526, allocations: 172.4 kB / 0.5532 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4526, allocations: 30.8 kB / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.4527, allocations: 100.4 kB / 0.5533 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.4528, allocations: 36.09 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.4528, allocations: 25.41 kB / 0.5534 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.453, allocations: 326.1 kB / 0.5537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4532, allocations: 56.92 kB / 0.5537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.4534, allocations: 60.77 kB / 0.5538 GB, free: 9.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.4537, allocations: 119.8 kB / 0.5539 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4537, allocations: 4 kB / 0.5539 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004322/0.4541, allocations: 163.8 kB / 0.5541 GB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4542, allocations: 5.469 kB / 0.5541 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4542, allocations: 3.938 kB / 0.5541 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.4542, allocations: 1.094 kB / 0.5541 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4544, allocations: 35.44 kB / 0.5541 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.4544, allocations: 1.031 kB / 0.5541 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.4544, allocations: 9.438 kB / 0.5541 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4545, allocations: 3.25 kB / 0.5541 GB, free: 8.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001613/0.4546, allocations: 131.5 kB / 0.5542 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.4547, allocations: 9.297 kB / 0.5542 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.4552, allocations: 196.6 kB / 0.5544 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4552, allocations: 5 kB / 0.5544 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4552, allocations: 0 / 0.5544 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4552, allocations: 5.047 kB / 0.5544 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.4561, allocations: 465.3 kB / 0.5549 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4561, allocations: 0 / 0.5549 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.4562, allocations: 36.5 kB / 0.5549 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4563, allocations: 1.406 kB / 0.5549 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4563, allocations: 2.531 kB / 0.5549 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4563, allocations: 1.219 kB / 0.5549 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4563, allocations: 1.125 kB / 0.5549 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.4567, allocations: 283.1 kB / 0.5552 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.4567, allocations: 12 kB / 0.5552 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.4568, allocations: 1.469 kB / 0.5552 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.4569, allocations: 10.83 kB / 0.5552 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.4569, allocations: 12.05 kB / 0.5552 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.4569, allocations: 2.562 kB / 0.5552 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4571, allocations: 139 kB / 0.5554 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4571, allocations: 0 / 0.5554 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000286/0.4574, allocations: 26.25 kB / 0.5554 GB, free: 7.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001871/0.4592, allocations: 461 kB / 0.5558 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.4596, allocations: 129.7 kB / 0.556 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4596, allocations: 0 / 0.556 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.4598, allocations: 65.14 kB / 0.556 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.4603, allocations: 23.86 kB / 0.556 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.461, allocations: 283.7 kB / 0.5563 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4614, allocations: 0.7138 MB / 0.557 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.4615, allocations: 33.7 kB / 0.557 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.4616, allocations: 18.16 kB / 0.5571 GB, free: 6.629 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4616, allocations: 0 / 0.5571 GB, free: 6.629 MB / 398.1 MB Notification: Performance of Templates: time 0.005978/0.4675, allocations: 1.662 MB / 0.5587 GB, free: 5.199 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 5.54612778685987]