Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001307/0.001307, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001366/0.001366, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.511/1.511, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2559/0.2559, allocations: 44.92 MB / 353.5 MB, free: 11.84 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 497.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.441, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.005017/0.446, allocations: 1.812 MB / 0.5506 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.4495, allocations: 1.666 MB / 0.5523 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.4497, allocations: 5.062 kB / 0.5523 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.4503, allocations: 52.81 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.4507, allocations: 88.48 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.4513, allocations: 172 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.4517, allocations: 193 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.805e-05/0.4517, allocations: 14.22 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.4519, allocations: 87.78 kB / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.4522, allocations: 74.44 kB / 0.5529 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.4522, allocations: 6.625 kB / 0.5529 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.4524, allocations: 67.86 kB / 0.553 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.4525, allocations: 32.42 kB / 0.553 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.4526, allocations: 53.05 kB / 0.5531 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.453, allocations: 175.6 kB / 0.5532 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.453, allocations: 1.156 kB / 0.5532 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.453, allocations: 0 / 0.5532 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.453, allocations: 4 kB / 0.5532 GB, free: 9.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008626/0.4538, allocations: 402 kB / 0.5536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4539, allocations: 10.73 kB / 0.5536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.454, allocations: 20.5 kB / 0.5537 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.4544, allocations: 178.9 kB / 0.5538 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4544, allocations: 1.594 kB / 0.5538 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.4545, allocations: 7.625 kB / 0.5538 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.4547, allocations: 107.2 kB / 0.5539 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4548, allocations: 0 / 0.5539 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4548, allocations: 1.125 kB / 0.5539 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4548, allocations: 1.219 kB / 0.5539 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.4549, allocations: 27.39 kB / 0.554 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.4552, allocations: 183.8 kB / 0.5541 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.4555, allocations: 106.2 kB / 0.5542 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4556, allocations: 40.64 kB / 0.5543 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4556, allocations: 1.094 kB / 0.5543 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.4559, allocations: 116.4 kB / 0.5544 GB, free: 8.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.4559, allocations: 0 / 0.5544 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005233/0.4564, allocations: 166.7 kB / 0.5546 GB, free: 8.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.4565, allocations: 130.9 kB / 0.5547 GB, free: 8.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.4568, allocations: 218 kB / 0.5549 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4568, allocations: 30.83 kB / 0.5549 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.4569, allocations: 110.4 kB / 0.555 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.457, allocations: 29.53 kB / 0.5551 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.457, allocations: 26.19 kB / 0.5551 GB, free: 8.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4572, allocations: 327.1 kB / 0.5554 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.4573, allocations: 31.72 kB / 0.5554 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4574, allocations: 78.55 kB / 0.5555 GB, free: 7.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.4576, allocations: 86.67 kB / 0.5556 GB, free: 7.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4576, allocations: 3.984 kB / 0.5556 GB, free: 7.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002971/0.4579, allocations: 140.9 kB / 0.5557 GB, free: 7.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4579, allocations: 5.625 kB / 0.5557 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4579, allocations: 5.469 kB / 0.5557 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4579, allocations: 1.031 kB / 0.5557 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4581, allocations: 21.98 kB / 0.5557 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4581, allocations: 1.25 kB / 0.5557 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-05/0.4582, allocations: 17.39 kB / 0.5558 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.4582, allocations: 3.875 kB / 0.5558 GB, free: 7.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001434/0.4583, allocations: 141.1 kB / 0.5559 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.4584, allocations: 15.53 kB / 0.5559 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.4588, allocations: 149.4 kB / 0.5561 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4588, allocations: 7.016 kB / 0.5561 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4588, allocations: 0 / 0.5561 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4588, allocations: 0 / 0.5561 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.459, allocations: 193.7 kB / 0.5563 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.459, allocations: 0 / 0.5563 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.4591, allocations: 7.219 kB / 0.5563 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4591, allocations: 5.094 kB / 0.5563 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4591, allocations: 10.3 kB / 0.5563 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4591, allocations: 0 / 0.5563 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4591, allocations: 1.125 kB / 0.5563 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.4595, allocations: 174 kB / 0.5564 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.4595, allocations: 12.94 kB / 0.5565 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.4595, allocations: 6.203 kB / 0.5565 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.4596, allocations: 11.47 kB / 0.5565 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.4597, allocations: 11.48 kB / 0.5565 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.4597, allocations: 4.5 kB / 0.5565 GB, free: 6.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.4599, allocations: 163.8 kB / 0.5566 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4599, allocations: 0 / 0.5566 GB, free: 6.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.4601, allocations: 39.62 kB / 0.5567 GB, free: 6.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00179/0.4619, allocations: 464.2 kB / 0.5571 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.4623, allocations: 77.25 kB / 0.5572 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4623, allocations: 0 / 0.5572 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4624, allocations: 35.98 kB / 0.5572 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.4628, allocations: 61.03 kB / 0.5573 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/0.4634, allocations: 258.8 kB / 0.5575 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.4638, allocations: 0.7165 MB / 0.5582 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4639, allocations: 29.72 kB / 0.5583 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.464, allocations: 28.92 kB / 0.5583 GB, free: 5.477 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.464, allocations: 0 / 0.5583 GB, free: 5.477 MB / 398.1 MB Notification: Performance of Templates: time 0.00725/0.4712, allocations: 2.719 MB / 0.5609 GB, free: 2.863 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.579430089332163]