Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2494/0.2494, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 75.89 kB / 0.491 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1414, allocations: 66.05 MB / 0.5555 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003585/0.1449, allocations: 1.83 MB / 0.5573 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.147, allocations: 1.104 MB / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1471, allocations: 4 kB / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.1477, allocations: 303.2 kB / 0.5587 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.1482, allocations: 255.2 kB / 0.5589 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1485, allocations: 103.7 kB / 0.559 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.1489, allocations: 263.2 kB / 0.5593 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.149, allocations: 13.69 kB / 0.5593 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1492, allocations: 135.5 kB / 0.5594 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1495, allocations: 204 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.1495, allocations: 8 kB / 0.5596 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1497, allocations: 51.92 kB / 0.5597 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1498, allocations: 136.5 kB / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.15, allocations: 150.8 kB / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004912/0.1505, allocations: 370.2 kB / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1505, allocations: 0 / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1505, allocations: 0 / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1505, allocations: 3.938 kB / 0.5603 GB, free: 0.5508 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001191/0.1517, allocations: 0.7578 MB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1517, allocations: 8.031 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1518, allocations: 30.75 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1519, allocations: 52.61 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.1527, allocations: 460.3 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1527, allocations: 8.375 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1527, allocations: 8.297 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.153, allocations: 83.5 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.153, allocations: 0 / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.153, allocations: 4 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.153, allocations: 0 / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1531, allocations: 35.97 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1536, allocations: 370.3 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.1539, allocations: 101.2 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.154, allocations: 37.7 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.154, allocations: 4 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1543, allocations: 112.9 kB / 0.5623 GB, free: 14.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1543, allocations: 0 / 0.5623 GB, free: 14.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005373/0.1548, allocations: 205.2 kB / 0.5625 GB, free: 14.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.1549, allocations: 81.11 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.1561, allocations: 1.026 MB / 0.5636 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1561, allocations: 25.7 kB / 0.5636 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.1563, allocations: 236.1 kB / 0.5638 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.1563, allocations: 27.78 kB / 0.5639 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.1564, allocations: 29.7 kB / 0.5639 GB, free: 12.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1566, allocations: 378.7 kB / 0.5642 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1566, allocations: 23.98 kB / 0.5643 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1568, allocations: 62.47 kB / 0.5643 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1569, allocations: 91.36 kB / 0.5644 GB, free: 12.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.157, allocations: 0 / 0.5644 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003377/0.1573, allocations: 177.7 kB / 0.5646 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1573, allocations: 8 kB / 0.5646 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1573, allocations: 0 / 0.5646 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1573, allocations: 4 kB / 0.5646 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1574, allocations: 23.98 kB / 0.5646 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.1575, allocations: 3.938 kB / 0.5646 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1576, allocations: 15.89 kB / 0.5646 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1576, allocations: 8.062 kB / 0.5646 GB, free: 11.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000238/0.1578, allocations: 225.6 kB / 0.5649 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.1579, allocations: 55.61 kB / 0.5649 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/0.158, allocations: 56.09 kB / 0.565 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.158, allocations: 4 kB / 0.565 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.158, allocations: 0 / 0.565 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.158, allocations: 0 / 0.565 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.1584, allocations: 337.5 kB / 0.5653 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1584, allocations: 3.938 kB / 0.5653 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.1584, allocations: 15.98 kB / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1584, allocations: 0 / 0.5653 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1584, allocations: 4 kB / 0.5653 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.1584, allocations: 7.938 kB / 0.5653 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1584, allocations: 0 / 0.5653 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.1588, allocations: 205.5 kB / 0.5655 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.1589, allocations: 144.7 kB / 0.5657 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.159, allocations: 3.984 kB / 0.5657 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.1591, allocations: 8 kB / 0.5657 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1591, allocations: 7.984 kB / 0.5657 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1591, allocations: 4 kB / 0.5657 GB, free: 10.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000856/0.16, allocations: 0.7604 MB / 0.5664 GB, free: 9.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.5664 GB, free: 9.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1603, allocations: 51.92 kB / 0.5665 GB, free: 9.84 MB / 430.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002117/0.1624, allocations: 1.045 MB / 0.5675 GB, free: 8.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.1627, allocations: 75.89 kB / 0.5676 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1627, allocations: 0 / 0.5676 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1628, allocations: 40.05 kB / 0.5676 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.1632, allocations: 70.52 kB / 0.5677 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.1691, allocations: 4.48 MB / 0.572 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.1697, allocations: 0.8466 MB / 0.5729 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1698, allocations: 58.92 kB / 0.5729 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.17, allocations: 151.3 kB / 0.5731 GB, free: 3.066 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.17, allocations: 0 / 0.5731 GB, free: 3.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.205, allocations: 8.964 MB / 0.5818 GB, free: 10.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/8.757, allocations: 8 kB / 0.5818 GB, free: 10.14 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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: 12.424023961997591]