Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001884/0.001884, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.0024/0.0024, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.656/1.656, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.3008/0.3008, allocations: 44.9 MB / 358.8 MB, free: 6.324 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [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.002226/0.002226, allocations: 71.88 kB / 0.4936 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4443, allocations: 65.46 MB / 0.5575 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00427/0.4486, allocations: 1.63 MB / 0.5591 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4498, allocations: 0.5582 MB / 0.5596 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.4499, allocations: 0 / 0.5596 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.4501, allocations: 19.86 kB / 0.5597 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.4504, allocations: 83.61 kB / 0.5597 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4508, allocations: 111.7 kB / 0.5598 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.451, allocations: 63.84 kB / 0.5599 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.4511, allocations: 11.94 kB / 0.5599 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.4512, allocations: 31.78 kB / 0.56 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.4513, allocations: 23.86 kB / 0.56 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.4513, allocations: 4 kB / 0.56 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.4514, allocations: 31.98 kB / 0.56 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.4515, allocations: 11.94 kB / 0.56 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.4515, allocations: 31.78 kB / 0.56 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.4517, allocations: 86.06 kB / 0.5601 GB, free: 5.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4517, allocations: 0 / 0.5601 GB, free: 5.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4517, allocations: 0 / 0.5601 GB, free: 5.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4517, allocations: 3.938 kB / 0.5601 GB, free: 5.02 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.0005704/0.4523, allocations: 313.8 kB / 0.5604 GB, free: 4.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4523, allocations: 8.031 kB / 0.5604 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.4524, allocations: 8.891 kB / 0.5605 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4526, allocations: 140.9 kB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4526, allocations: 8.375 kB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4527, allocations: 4.375 kB / 0.5606 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4528, allocations: 49.81 kB / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4529, allocations: 0 / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4529, allocations: 0 / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4529, allocations: 0 / 0.5606 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.453, allocations: 31.91 kB / 0.5607 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.4536, allocations: 255.9 kB / 0.5609 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.4538, allocations: 42.56 kB / 0.561 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.4539, allocations: 20.94 kB / 0.561 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.4539, allocations: 3.938 kB / 0.561 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4539, allocations: 30.56 kB / 0.561 GB, free: 4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4539, allocations: 0 / 0.561 GB, free: 4 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006353/0.4546, allocations: 165.3 kB / 0.5612 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4546, allocations: 51.41 kB / 0.5612 GB, free: 3.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4548, allocations: 163.2 kB / 0.5614 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4548, allocations: 25.7 kB / 0.5614 GB, free: 3.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.4549, allocations: 96.12 kB / 0.5615 GB, free: 3.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.4549, allocations: 19.86 kB / 0.5615 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.455, allocations: 17.72 kB / 0.5615 GB, free: 3.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4552, allocations: 326.8 kB / 0.5618 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4553, allocations: 19.98 kB / 0.5619 GB, free: 3.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.4554, allocations: 23.97 kB / 0.5619 GB, free: 3.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.4557, allocations: 52.77 kB / 0.5619 GB, free: 3.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4557, allocations: 0 / 0.5619 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002027/0.4559, allocations: 93.55 kB / 0.562 GB, free: 2.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4559, allocations: 4 kB / 0.562 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4559, allocations: 0 / 0.562 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4559, allocations: 3.938 kB / 0.562 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.456, allocations: 12 kB / 0.562 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.456, allocations: 0 / 0.562 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.456, allocations: 15.92 kB / 0.5621 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.456, allocations: 0 / 0.5621 GB, free: 2.871 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.0001593/0.4562, allocations: 121.8 kB / 0.5622 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.4562, allocations: 15.94 kB / 0.5622 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4565, allocations: 94.28 kB / 0.5623 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4565, allocations: 4 kB / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4565, allocations: 0 / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4565, allocations: 7.922 kB / 0.5623 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.457, allocations: 325.9 kB / 0.5626 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.457, allocations: 8.062 kB / 0.5626 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.457, allocations: 15.98 kB / 0.5626 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.457, allocations: 0 / 0.5626 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.457, allocations: 3.938 kB / 0.5626 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.457, allocations: 3.938 kB / 0.5626 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.457, allocations: 4 kB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.4573, allocations: 179.5 kB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.4573, allocations: 11.95 kB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.4573, allocations: 7.922 kB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.4574, allocations: 4 kB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.4574, allocations: 0 / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4574, allocations: 11.98 kB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.4576, allocations: 125.7 kB / 0.563 GB, free: 1.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4576, allocations: 0 / 0.563 GB, free: 1.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.4578, allocations: 15.95 kB / 0.563 GB, free: 1.84 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.001765/0.4596, allocations: 405.8 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.4598, allocations: 51.91 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4598, allocations: 0 / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.4599, allocations: 27.97 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.4604, allocations: 26.92 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.461, allocations: 202.1 kB / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.4615, allocations: 0.704 MB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.4616, allocations: 11.78 kB / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.4616, allocations: 15.42 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4616, allocations: 0 / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Templates: time 0.005004/0.4666, allocations: 1.166 MB / 0.5655 GB, free: 15.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.744318195153028]