Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.002022/0.002022, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.496/1.496, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 46.91 MB / 357.1 MB, free: 10.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.91 kB / 0.491 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 65.99 MB / 0.5555 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004486/0.1309, allocations: 1.929 MB / 0.5574 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1333, allocations: 1.126 MB / 0.5585 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1335, allocations: 7.938 kB / 0.5585 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.1341, allocations: 223.4 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.1347, allocations: 219.2 kB / 0.5589 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1351, allocations: 111.7 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.1356, allocations: 259.2 kB / 0.5592 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1357, allocations: 29.67 kB / 0.5593 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.136, allocations: 123.5 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1363, allocations: 171.4 kB / 0.5596 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1364, allocations: 11.94 kB / 0.5596 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1365, allocations: 63.97 kB / 0.5596 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1367, allocations: 59.77 kB / 0.5597 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1368, allocations: 91.28 kB / 0.5598 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.1372, allocations: 242.8 kB / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1372, allocations: 0 / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1372, allocations: 0 / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1373, allocations: 0 / 0.56 GB, free: 1.113 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009082/0.1382, allocations: 0.5794 MB / 0.5606 GB, free: 496 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1382, allocations: 12.03 kB / 0.5606 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1383, allocations: 34.75 kB / 0.5606 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.1383, allocations: 36.73 kB / 0.5606 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.1388, allocations: 288.3 kB / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1389, allocations: 8.375 kB / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.1389, allocations: 15.94 kB / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1392, allocations: 121.1 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1392, allocations: 0 / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1392, allocations: 0 / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1392, allocations: 4 kB / 0.5611 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1394, allocations: 43.97 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.1401, allocations: 488.7 kB / 0.5616 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.1405, allocations: 121.2 kB / 0.5617 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1406, allocations: 37.83 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1407, allocations: 0 / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.1409, allocations: 121 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.1409, allocations: 0 / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001434/0.1424, allocations: 0.5046 MB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.1424, allocations: 85.11 kB / 0.5624 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.1429, allocations: 440.5 kB / 0.5628 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1429, allocations: 29.7 kB / 0.5629 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1431, allocations: 168.4 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.1432, allocations: 71.42 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.1433, allocations: 45.7 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1434, allocations: 342.8 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1436, allocations: 67.91 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1437, allocations: 93.53 kB / 0.5636 GB, free: 13.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.144, allocations: 155.5 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.144, allocations: 0 / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004556/0.1445, allocations: 241.2 kB / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1445, allocations: 9.875 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1445, allocations: 0 / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1445, allocations: 4 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1447, allocations: 43.92 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.1447, allocations: 7.984 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.1448, allocations: 11.95 kB / 0.5641 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1448, allocations: 8 kB / 0.5641 GB, free: 12.64 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001874/0.145, allocations: 169.8 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1451, allocations: 35.75 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.54e-05/0.1452, allocations: 38.81 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1452, allocations: 4 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1452, allocations: 0 / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.1452, allocations: 3.984 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1463, allocations: 0.739 MB / 0.565 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1463, allocations: 4 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.1464, allocations: 35.86 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1464, allocations: 0 / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1464, allocations: 4 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1464, allocations: 4.938 kB / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1464, allocations: 7.938 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.147, allocations: 426 kB / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.147, allocations: 100.9 kB / 0.5656 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.1471, allocations: 8 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1472, allocations: 11.98 kB / 0.5656 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.1473, allocations: 27.91 kB / 0.5656 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.1473, allocations: 11.98 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.1477, allocations: 339 kB / 0.566 GB, free: 10.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1477, allocations: 0 / 0.566 GB, free: 10.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1481, allocations: 47.94 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002908/0.151, allocations: 1.363 MB / 0.5674 GB, free: 9.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.1514, allocations: 155.8 kB / 0.5675 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1514, allocations: 0 / 0.5675 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.1516, allocations: 75.83 kB / 0.5676 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.1522, allocations: 68.83 kB / 0.5676 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.1565, allocations: 2.888 MB / 0.5705 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.157, allocations: 0.781 MB / 0.5712 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.1572, allocations: 37.92 kB / 0.5713 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.1574, allocations: 95.41 kB / 0.5713 GB, free: 5.098 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1574, allocations: 4 kB / 0.5714 GB, free: 5.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.1868, allocations: 6.478 MB / 0.5777 GB, free: 14.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/8.703, allocations: 7.062 kB / 0.5777 GB, free: 14.68 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.787313495064154]