Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001534/0.001534, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.002108/0.002108, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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.575/1.575, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2391/0.2391, allocations: 44.93 MB / 359.6 MB, free: 6.164 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.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.89 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4284, allocations: 65.48 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003413/0.4319, allocations: 1.59 MB / 0.5598 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.434, allocations: 1.236 MB / 0.561 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.4341, allocations: 7.938 kB / 0.561 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.4344, allocations: 23.86 kB / 0.561 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.4347, allocations: 87.61 kB / 0.5611 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.435, allocations: 107.5 kB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.4352, allocations: 67.77 kB / 0.5613 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4353, allocations: 19.64 kB / 0.5613 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.4353, allocations: 27.8 kB / 0.5613 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4355, allocations: 35.83 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.4355, allocations: 8 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.4357, allocations: 83.95 kB / 0.5614 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.4357, allocations: 19.86 kB / 0.5614 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.4358, allocations: 19.86 kB / 0.5615 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.436, allocations: 138.4 kB / 0.5616 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.436, allocations: 0 / 0.5616 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.436, allocations: 0 / 0.5616 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.436, allocations: 0 / 0.5616 GB, free: 4.023 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005746/0.4366, allocations: 325.7 kB / 0.5619 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4366, allocations: 12.03 kB / 0.5619 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.4367, allocations: 12.88 kB / 0.5619 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.4369, allocations: 138.4 kB / 0.5621 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4369, allocations: 384 / 0.5621 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4369, allocations: 4.375 kB / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.4371, allocations: 93.22 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4371, allocations: 0 / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4372, allocations: 0 / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4372, allocations: 4 kB / 0.5622 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.4373, allocations: 19.98 kB / 0.5622 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.4377, allocations: 236.4 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.4379, allocations: 42.56 kB / 0.5624 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.4379, allocations: 20.94 kB / 0.5625 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.438, allocations: 0 / 0.5625 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.438, allocations: 30.56 kB / 0.5625 GB, free: 2.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.438, allocations: 4 kB / 0.5625 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005833/0.4386, allocations: 149.4 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.4387, allocations: 81.11 kB / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4388, allocations: 145.8 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4388, allocations: 25.7 kB / 0.5629 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.4389, allocations: 92.14 kB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.4389, allocations: 27.78 kB / 0.563 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.439, allocations: 21.66 kB / 0.563 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4392, allocations: 326.7 kB / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.4392, allocations: 19.98 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.4393, allocations: 59.41 kB / 0.5634 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4395, allocations: 61.05 kB / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4395, allocations: 0 / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002116/0.4397, allocations: 81.61 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4397, allocations: 11.94 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4397, allocations: 0 / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4397, allocations: 0 / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.4398, allocations: 19.92 kB / 0.5636 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4398, allocations: 4 kB / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.4398, allocations: 8 kB / 0.5636 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.4398, allocations: 0 / 0.5636 GB, free: 1.785 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 (5): * Single equations (assignments): 5 * 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.0001034/0.4399, allocations: 121.8 kB / 0.5637 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.44, allocations: 7.953 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.4403, allocations: 98.33 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4403, allocations: 0 / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4403, allocations: 7.969 kB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4403, allocations: 0 / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.4407, allocations: 310.1 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4407, allocations: 0 / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.4408, allocations: 12 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4408, allocations: 0 / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4408, allocations: 3.984 kB / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4408, allocations: 0 / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4408, allocations: 192 / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.4411, allocations: 191.3 kB / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.4411, allocations: 15.95 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4411, allocations: 0 / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.4412, allocations: 4 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.4412, allocations: 7.922 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4412, allocations: 4 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4414, allocations: 117.6 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4414, allocations: 0 / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.4416, allocations: 39.81 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001865/0.4435, allocations: 0.5212 MB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.4437, allocations: 55.89 kB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4437, allocations: 0 / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.4438, allocations: 23.98 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4442, allocations: 15.98 kB / 0.5651 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.4447, allocations: 195.3 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.4448, allocations: 86.95 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.4448, allocations: 23.42 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4448, allocations: 0 / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of Templates: time 0.004344/0.4492, allocations: 1.99 MB / 0.5673 GB, free: 14.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 8.12123981397599]