Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.00126/0.00126, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001349/0.001349, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2536/0.2536, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.002067/0.002067, allocations: 75.86 kB / 499.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1446, allocations: 65.43 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003821/0.1484, allocations: 1.686 MB / 0.5535 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1502, allocations: 1.019 MB / 0.5545 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.1503, allocations: 0 / 0.5545 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1507, allocations: 51.75 kB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.151, allocations: 111.5 kB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1512, allocations: 63.75 kB / 0.5547 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1514, allocations: 107.6 kB / 0.5548 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.1514, allocations: 4.234 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1515, allocations: 43.78 kB / 0.5548 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.1516, allocations: 35.78 kB / 0.5549 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1516, allocations: 3.938 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.1517, allocations: 35.98 kB / 0.5549 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.1518, allocations: 27.86 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1518, allocations: 39.69 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1521, allocations: 123.7 kB / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1521, allocations: 0 / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1521, allocations: 0 / 0.5551 GB, free: 6.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1521, allocations: 0 / 0.5551 GB, free: 6.719 MB / 414.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.0006922/0.1528, allocations: 454.4 kB / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1528, allocations: 8.031 kB / 0.5555 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.1529, allocations: 30.75 kB / 0.5556 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1529, allocations: 16.89 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1533, allocations: 225 kB / 0.5558 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1533, allocations: 384 / 0.5558 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1533, allocations: 3.938 kB / 0.5558 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1534, allocations: 49.67 kB / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1534, allocations: 0 / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1535, allocations: 0 / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1535, allocations: 0 / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.1535, allocations: 15.98 kB / 0.5559 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.1538, allocations: 201.7 kB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1539, allocations: 50.5 kB / 0.5561 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.154, allocations: 20.84 kB / 0.5561 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.154, allocations: 0 / 0.5561 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.1542, allocations: 75.39 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1542, allocations: 0 / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003284/0.1545, allocations: 101.5 kB / 0.5563 GB, free: 5.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1546, allocations: 51.41 kB / 0.5563 GB, free: 5.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.1549, allocations: 275.7 kB / 0.5566 GB, free: 4.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1549, allocations: 29.69 kB / 0.5566 GB, free: 4.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.155, allocations: 112.1 kB / 0.5567 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.155, allocations: 15.91 kB / 0.5568 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1551, allocations: 21.72 kB / 0.5568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1552, allocations: 322.8 kB / 0.5571 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/0.1553, allocations: 15.98 kB / 0.5571 GB, free: 4.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.1553, allocations: 33.7 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1555, allocations: 41.66 kB / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1555, allocations: 3.938 kB / 0.5572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001683/0.1556, allocations: 93.56 kB / 0.5573 GB, free: 4.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1556, allocations: 4 kB / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1557, allocations: 0 / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1557, allocations: 7.938 kB / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.1558, allocations: 15.88 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1558, allocations: 0 / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1558, allocations: 11.94 kB / 0.5573 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1558, allocations: 0 / 0.5573 GB, free: 4.207 MB / 414.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.0001503/0.156, allocations: 144 kB / 0.5574 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.156, allocations: 15.91 kB / 0.5575 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.156, allocations: 13 kB / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.156, allocations: 4 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.156, allocations: 3.984 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1561, allocations: 0 / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1563, allocations: 197.9 kB / 0.5577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1563, allocations: 0 / 0.5577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.1563, allocations: 8 kB / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1563, allocations: 0 / 0.5577 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1563, allocations: 4 kB / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1563, allocations: 4 kB / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1563, allocations: 0 / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1565, allocations: 116.9 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1566, allocations: 92.95 kB / 0.5579 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1566, allocations: 4 kB / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.1566, allocations: 3.984 kB / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1567, allocations: 4 kB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1567, allocations: 4 kB / 0.5579 GB, free: 3.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.1569, allocations: 208.6 kB / 0.5581 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1569, allocations: 0 / 0.5581 GB, free: 3.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1571, allocations: 12 kB / 0.5581 GB, free: 3.293 MB / 414.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002007/0.1591, allocations: 0.9675 MB / 0.559 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1593, allocations: 39.98 kB / 0.5591 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1593, allocations: 0 / 0.5591 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.1593, allocations: 23.92 kB / 0.5591 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1596, allocations: 26.8 kB / 0.5591 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1616, allocations: 1.678 MB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.162, allocations: 0.7197 MB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.461e-05/0.162, allocations: 16.53 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.18e-05/0.1621, allocations: 35.42 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1621, allocations: 0 / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.1883, allocations: 3.518 MB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.161, allocations: 8.812 kB / 0.565 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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: 11.422499734908342]