Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001795/0.001795, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002026/0.002026, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2316/0.2316, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 0.491 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1406, allocations: 66 MB / 0.5554 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00454/0.1451, allocations: 1.823 MB / 0.5572 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.1475, allocations: 1.12 MB / 0.5583 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1477, allocations: 0 / 0.5583 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.1482, allocations: 307.2 kB / 0.5586 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.1488, allocations: 255.2 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1491, allocations: 111.6 kB / 0.559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.1495, allocations: 267.2 kB / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.1496, allocations: 13.67 kB / 0.5592 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1498, allocations: 139.5 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1501, allocations: 215.5 kB / 0.5596 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.1501, allocations: 8 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1503, allocations: 47.86 kB / 0.5596 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.1504, allocations: 139.6 kB / 0.5597 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1506, allocations: 142.8 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.1512, allocations: 382.2 kB / 0.5603 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1512, allocations: 4 kB / 0.5603 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1512, allocations: 0 / 0.5603 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.1512, allocations: 4 kB / 0.5603 GB, free: 0.7695 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.001202/0.1524, allocations: 0.7616 MB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1525, allocations: 8.031 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.1525, allocations: 38.75 kB / 0.561 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1526, allocations: 52.55 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.1534, allocations: 456.3 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1534, allocations: 4.375 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1534, allocations: 11.94 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.1536, allocations: 87.3 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1537, allocations: 3.938 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1537, allocations: 0 / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1537, allocations: 3.984 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1538, allocations: 27.98 kB / 0.5617 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.1543, allocations: 382.3 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1547, allocations: 113.1 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1548, allocations: 33.7 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1548, allocations: 8 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.1551, allocations: 101 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1551, allocations: 0 / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005779/0.1556, allocations: 205.7 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1557, allocations: 77.11 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.157, allocations: 1.058 MB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.157, allocations: 29.7 kB / 0.5636 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1572, allocations: 232.1 kB / 0.5638 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.1573, allocations: 39.72 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1574, allocations: 25.7 kB / 0.5639 GB, free: 12.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1576, allocations: 370.8 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.1577, allocations: 32.05 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1578, allocations: 67.28 kB / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.158, allocations: 83.42 kB / 0.5644 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.158, allocations: 7.875 kB / 0.5644 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003536/0.1583, allocations: 177.3 kB / 0.5646 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1584, allocations: 4 kB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1584, allocations: 0 / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1584, allocations: 4 kB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1585, allocations: 19.98 kB / 0.5646 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1585, allocations: 7.938 kB / 0.5646 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1586, allocations: 11.94 kB / 0.5646 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1587, allocations: 4 kB / 0.5646 GB, free: 11.98 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.0002439/0.1589, allocations: 223.9 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.159, allocations: 59.62 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-05/0.1591, allocations: 60.14 kB / 0.565 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1591, allocations: 4 kB / 0.565 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1591, allocations: 0 / 0.565 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1591, allocations: 0 / 0.565 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.1595, allocations: 349.4 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.1595, allocations: 8 kB / 0.5653 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.1595, allocations: 4 kB / 0.5653 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1595, allocations: 0 / 0.5653 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1595, allocations: 8 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1595, allocations: 7.938 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1595, allocations: 0 / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.1599, allocations: 209.4 kB / 0.5655 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1601, allocations: 140.8 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.1601, allocations: 0 / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.1602, allocations: 8 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1603, allocations: 11.98 kB / 0.5657 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1603, allocations: 4 kB / 0.5657 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008976/0.1612, allocations: 0.7878 MB / 0.5665 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1612, allocations: 0 / 0.5665 GB, free: 10.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1615, allocations: 47.92 kB / 0.5665 GB, free: 9.969 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.002254/0.1637, allocations: 1.056 MB / 0.5675 GB, free: 9.039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.164, allocations: 79.89 kB / 0.5676 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.164, allocations: 0 / 0.5676 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1641, allocations: 35.92 kB / 0.5676 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1646, allocations: 63.81 kB / 0.5677 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00693/0.1715, allocations: 4.578 MB / 0.5722 GB, free: 4.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.1721, allocations: 0.8427 MB / 0.573 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1723, allocations: 59.44 kB / 0.5731 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.1726, allocations: 151.4 kB / 0.5732 GB, free: 3.109 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1726, allocations: 0 / 0.5732 GB, free: 3.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.2097, allocations: 9.169 MB / 0.5822 GB, free: 10.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.835/9.044, allocations: 3.938 kB / 0.5822 GB, free: 10.02 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.502582720015198]