Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001707/0.001707, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002024/0.002024, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.241/0.241, allocations: 44.91 MB / 355.1 MB, free: 12.35 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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001936/0.001936, allocations: 71.89 kB / 499.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003379/0.1454, allocations: 1.729 MB / 0.5535 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1472, allocations: 1.034 MB / 0.5545 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.1473, allocations: 7.875 kB / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1476, allocations: 55.7 kB / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.1479, allocations: 103.6 kB / 0.5547 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1481, allocations: 79.67 kB / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1483, allocations: 95.75 kB / 0.5549 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1484, allocations: 16.27 kB / 0.5549 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1485, allocations: 55.66 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.1485, allocations: 27.84 kB / 0.555 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1486, allocations: 4 kB / 0.555 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.1487, allocations: 43.98 kB / 0.555 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.1487, allocations: 35.84 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.1488, allocations: 35.69 kB / 0.5551 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.149, allocations: 147.3 kB / 0.5552 GB, free: 6.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.149, allocations: 0 / 0.5552 GB, free: 6.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.149, allocations: 0 / 0.5552 GB, free: 6.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.149, allocations: 0 / 0.5552 GB, free: 6.602 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006305/0.1496, allocations: 454.4 kB / 0.5556 GB, free: 6.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1497, allocations: 12.03 kB / 0.5557 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.1497, allocations: 30.75 kB / 0.5557 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1498, allocations: 16.84 kB / 0.5557 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1501, allocations: 221 kB / 0.5559 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1501, allocations: 8.375 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1501, allocations: 3.938 kB / 0.5559 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1503, allocations: 57.61 kB / 0.556 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1503, allocations: 0 / 0.556 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1503, allocations: 7.984 kB / 0.556 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1503, allocations: 3.984 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.1504, allocations: 12 kB / 0.556 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1508, allocations: 304.8 kB / 0.5563 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1509, allocations: 66.61 kB / 0.5564 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.151, allocations: 16.86 kB / 0.5564 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.151, allocations: 3.984 kB / 0.5564 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.1511, allocations: 63.39 kB / 0.5564 GB, free: 5.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1511, allocations: 4 kB / 0.5564 GB, free: 5.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005368/0.1517, allocations: 185.2 kB / 0.5566 GB, free: 4.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1517, allocations: 55.39 kB / 0.5567 GB, free: 4.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.152, allocations: 279.7 kB / 0.5569 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.152, allocations: 25.7 kB / 0.557 GB, free: 4.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.1521, allocations: 116.1 kB / 0.5571 GB, free: 4.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1521, allocations: 15.86 kB / 0.5571 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1522, allocations: 25.7 kB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1523, allocations: 334.8 kB / 0.5574 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.1524, allocations: 15.98 kB / 0.5574 GB, free: 4.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1525, allocations: 45.58 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1526, allocations: 57.7 kB / 0.5575 GB, free: 3.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1526, allocations: 0 / 0.5575 GB, free: 3.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.1528, allocations: 117.4 kB / 0.5577 GB, free: 3.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1528, allocations: 10.03 kB / 0.5577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1528, allocations: 0 / 0.5577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1528, allocations: 0 / 0.5577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1529, allocations: 15.98 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1529, allocations: 4 kB / 0.5577 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1529, allocations: 7.938 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1529, allocations: 4 kB / 0.5577 GB, free: 3.805 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 (10): * Single equations (assignments): 10 * 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.0001247/0.1531, allocations: 140 kB / 0.5578 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.1531, allocations: 15.94 kB / 0.5578 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1531, allocations: 21.39 kB / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1531, allocations: 4 kB / 0.5579 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1532, allocations: 0 / 0.5579 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1532, allocations: 3.938 kB / 0.5579 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.1536, allocations: 407.2 kB / 0.5583 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1536, allocations: 0 / 0.5583 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.1537, allocations: 8 kB / 0.5583 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1537, allocations: 11.97 kB / 0.5583 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1537, allocations: 3.984 kB / 0.5583 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1537, allocations: 0 / 0.5583 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1537, allocations: 0 / 0.5583 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1539, allocations: 208.2 kB / 0.5585 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.154, allocations: 89.02 kB / 0.5586 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.154, allocations: 7.938 kB / 0.5586 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1541, allocations: 11.98 kB / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1541, allocations: 4 kB / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1541, allocations: 384 / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1543, allocations: 208.6 kB / 0.5588 GB, free: 2.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1543, allocations: 0 / 0.5588 GB, free: 2.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1546, allocations: 16 kB / 0.5588 GB, free: 2.562 MB / 414.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: 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 (8): * Single equations (assignments): 6 * 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.002331/0.1569, allocations: 1.119 MB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1571, allocations: 55.97 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1571, allocations: 0 / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.1572, allocations: 27.92 kB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1576, allocations: 30.78 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1598, allocations: 1.835 MB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1602, allocations: 0.7196 MB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.1603, allocations: 21.16 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.1604, allocations: 43.42 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1604, allocations: 7.938 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1858, allocations: 3.811 MB / 0.5663 GB, free: 10.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.086, allocations: 0.9375 kB / 0.5663 GB, free: 10.99 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.39143023174256]