Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 112.8 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 184.8 kB / 18.7 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4391, allocations: 60.83 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003655/0.4428, allocations: 1.913 MB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4443, allocations: 0.9239 MB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.4445, allocations: 6.438 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.4448, allocations: 34.06 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.4451, allocations: 66.34 kB / 0.5218 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.4455, allocations: 126 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.4457, allocations: 140.1 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.4458, allocations: 24.34 kB / 0.5221 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.446, allocations: 60.83 kB / 0.5222 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.4461, allocations: 46.16 kB / 0.5222 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.4461, allocations: 6.375 kB / 0.5222 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.4462, allocations: 54.19 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.4463, allocations: 26.98 kB / 0.5223 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.4464, allocations: 51.03 kB / 0.5223 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.4466, allocations: 145 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4467, allocations: 0.6094 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4467, allocations: 0 / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.4467, allocations: 0 / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006571/0.4473, allocations: 479.5 kB / 0.5229 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4474, allocations: 9.812 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.4474, allocations: 24.28 kB / 0.523 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.4477, allocations: 224.9 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4477, allocations: 7.188 kB / 0.5232 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.4478, allocations: 10.19 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.448, allocations: 111.6 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.448, allocations: 3.938 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4481, allocations: 6.094 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.4481, allocations: 2.375 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.4482, allocations: 51.34 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.4488, allocations: 0.495 MB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.4492, allocations: 95.55 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4493, allocations: 37.25 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.4494, allocations: 1.906 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.4496, allocations: 90.23 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4496, allocations: 0 / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004332/0.45, allocations: 142.2 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4501, allocations: 61.59 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.4503, allocations: 191.3 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4503, allocations: 27.61 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.4504, allocations: 111 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.4505, allocations: 29.48 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.4505, allocations: 34.7 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4507, allocations: 326 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4508, allocations: 29.73 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4509, allocations: 62.58 kB / 0.525 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4511, allocations: 100 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4511, allocations: 1.812 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002745/0.4514, allocations: 140.5 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4514, allocations: 6.328 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4514, allocations: 1.281 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4515, allocations: 6.469 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4516, allocations: 29.11 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4516, allocations: 2 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.4517, allocations: 11.23 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4517, allocations: 7.938 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001296/0.4518, allocations: 132.4 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.4519, allocations: 18.88 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.4519, allocations: 16.88 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4519, allocations: 3.938 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4519, allocations: 1.812 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.452, allocations: 0.8438 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.4522, allocations: 210 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4522, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.4523, allocations: 11.25 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4523, allocations: 1.844 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4523, allocations: 6.625 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4523, allocations: 7.938 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4523, allocations: 0.5625 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.4527, allocations: 178.5 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.4528, allocations: 90.28 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.4528, allocations: 0.5625 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.4529, allocations: 10.25 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.453, allocations: 14.81 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.453, allocations: 3.672 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4531, allocations: 139 kB / 0.5261 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4531, allocations: 3.938 kB / 0.5261 GB, free: 14.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.4534, allocations: 28.47 kB / 0.5262 GB, free: 14.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009751/0.4544, allocations: 407.1 kB / 0.5266 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.4547, allocations: 82.61 kB / 0.5266 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4547, allocations: 192 / 0.5266 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4548, allocations: 38.94 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4551, allocations: 47.11 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.4557, allocations: 253.2 kB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4561, allocations: 0.7182 MB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.631e-05/0.4561, allocations: 22.89 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.4562, allocations: 22.52 kB / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4562, allocations: 0 / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.005029/0.4612, allocations: 1.89 MB / 0.5296 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches