Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001758/0.001758, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00198/0.00198, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8 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.2345/0.2345, allocations: 44.92 MB / 358.8 MB, free: 6.27 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [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.002388/0.002388, allocations: 64.17 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4284, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003653/0.4321, allocations: 1.709 MB / 0.5587 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4341, allocations: 1.026 MB / 0.5598 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.4342, allocations: 3.938 kB / 0.5598 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.4345, allocations: 55.8 kB / 0.5598 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.4349, allocations: 107.5 kB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.4351, allocations: 75.73 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.4353, allocations: 107.6 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.4353, allocations: 8.219 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.4354, allocations: 55.77 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4356, allocations: 47.77 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.4356, allocations: 4 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.4357, allocations: 35.92 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.4357, allocations: 19.92 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.4358, allocations: 27.81 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.436, allocations: 109.4 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.436, allocations: 0 / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.436, allocations: 0 / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.436, allocations: 7.938 kB / 0.5604 GB, free: 4.359 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005673/0.4366, allocations: 333.6 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4366, allocations: 12.03 kB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.4367, allocations: 38.67 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.4367, allocations: 12.84 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.437, allocations: 147 kB / 0.5609 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.437, allocations: 4.375 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.437, allocations: 7.938 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4372, allocations: 49.67 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4372, allocations: 0 / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4372, allocations: 0 / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4372, allocations: 4 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.4373, allocations: 19.92 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.4375, allocations: 152.7 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.4377, allocations: 54.56 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.4377, allocations: 24.83 kB / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4378, allocations: 0 / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.4379, allocations: 63.39 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.4379, allocations: 0 / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003012/0.4382, allocations: 101.8 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.4383, allocations: 51.41 kB / 0.5614 GB, free: 3.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.4385, allocations: 194.3 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4385, allocations: 37.64 kB / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4386, allocations: 100.1 kB / 0.5617 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.4386, allocations: 27.77 kB / 0.5618 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.4386, allocations: 13.72 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4388, allocations: 326.8 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.4389, allocations: 12 kB / 0.5621 GB, free: 2.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.4389, allocations: 29.7 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.439, allocations: 45.64 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.439, allocations: 7.938 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001586/0.4392, allocations: 81.53 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4392, allocations: 4 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4392, allocations: 4 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4392, allocations: 0 / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.4393, allocations: 16.02 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4393, allocations: 0 / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.4393, allocations: 8 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4393, allocations: 0 / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001056/0.4394, allocations: 132.6 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.4395, allocations: 7.953 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4397, allocations: 90.7 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4397, allocations: 0 / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4397, allocations: 4 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4397, allocations: 0 / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4398, allocations: 168.6 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4398, allocations: 0 / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.4399, allocations: 4 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4399, allocations: 0 / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4399, allocations: 4.188 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4399, allocations: 4 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4399, allocations: 0 / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.4401, allocations: 117 kB / 0.5628 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.4401, allocations: 7.953 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4401, allocations: 0 / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.4402, allocations: 7.984 kB / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.4402, allocations: 4 kB / 0.5628 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.4402, allocations: 4 kB / 0.5628 GB, free: 1.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.4403, allocations: 152.2 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4403, allocations: 0 / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.4406, allocations: 15.94 kB / 0.563 GB, free: 1.418 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00194/0.4425, allocations: 0.949 MB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.4427, allocations: 47.91 kB / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4427, allocations: 0 / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.4427, allocations: 16.06 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.443, allocations: 33.45 kB / 0.564 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.4447, allocations: 1.506 MB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4451, allocations: 0.7002 MB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.4451, allocations: 24.41 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.4452, allocations: 35.42 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4452, allocations: 0 / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.4754, allocations: 3.318 MB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.35, allocations: 14.53 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 14.51071769814007]