Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001365/0.001365, 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.002447/0.002447, 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.52/1.52, 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.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.2266/0.2266, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 72.14 kB / 0.491 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 65.98 MB / 0.5555 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003377/0.1384, allocations: 1.737 MB / 0.5572 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.141, allocations: 1.648 MB / 0.5588 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.1411, allocations: 0 / 0.5588 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1414, allocations: 35.77 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.1418, allocations: 103.5 kB / 0.5589 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.142, allocations: 71.75 kB / 0.559 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1422, allocations: 107.6 kB / 0.5591 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1423, allocations: 19.98 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1424, allocations: 43.8 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1426, allocations: 47.81 kB / 0.5592 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1426, allocations: 7.938 kB / 0.5592 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.1429, allocations: 103.9 kB / 0.5593 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.1429, allocations: 19.92 kB / 0.5593 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.143, allocations: 39.72 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.1433, allocations: 175.3 kB / 0.5595 GB, free: 1.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1434, allocations: 0 / 0.5595 GB, free: 1.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1434, allocations: 0 / 0.5595 GB, free: 1.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1434, allocations: 4 kB / 0.5595 GB, free: 1.621 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.0007003/0.1441, allocations: 426.6 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1441, allocations: 12.03 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.1442, allocations: 38.73 kB / 0.56 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.1442, allocations: 12.84 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1446, allocations: 220.4 kB / 0.5602 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1446, allocations: 0 / 0.5602 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1446, allocations: 4 kB / 0.5602 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1448, allocations: 67.39 kB / 0.5603 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1448, allocations: 4 kB / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1448, allocations: 0 / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1448, allocations: 0 / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.1449, allocations: 23.98 kB / 0.5603 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.1453, allocations: 292.8 kB / 0.5606 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1455, allocations: 54.67 kB / 0.5606 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1456, allocations: 16.86 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1456, allocations: 0 / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1458, allocations: 75.33 kB / 0.5607 GB, free: 224 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1458, allocations: 3.938 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.1464, allocations: 185.4 kB / 0.5609 GB, free: 28 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.1465, allocations: 81.05 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1467, allocations: 169.5 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1467, allocations: 29.7 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.1468, allocations: 96.12 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1468, allocations: 27.75 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1469, allocations: 29.7 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1471, allocations: 318.8 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.1471, allocations: 20 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.1472, allocations: 46.55 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1473, allocations: 57.66 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1473, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00025/0.1476, allocations: 105.6 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1476, allocations: 5.938 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1476, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1476, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.1477, allocations: 27.81 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1477, allocations: 0 / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.1477, allocations: 3.984 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1478, allocations: 4 kB / 0.5619 GB, free: 14.95 MB / 430.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.0001061/0.1479, allocations: 124 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.1479, allocations: 7.953 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.1479, allocations: 20.7 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1479, allocations: 3.938 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1479, allocations: 0 / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1479, allocations: 4 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.1484, allocations: 395.3 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1484, allocations: 3.938 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.1485, allocations: 8 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1485, allocations: 0 / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1485, allocations: 7.984 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1485, allocations: 4.031 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1485, allocations: 3.938 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1488, allocations: 196.3 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1488, allocations: 89.19 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1489, allocations: 4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.149, allocations: 11.92 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.149, allocations: 8 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.149, allocations: 4.359 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1491, allocations: 131.2 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1491, allocations: 0 / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1494, allocations: 43.88 kB / 0.5629 GB, free: 13.8 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: 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.002486/0.1519, allocations: 1.19 MB / 0.564 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1521, allocations: 51.92 kB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1521, allocations: 0 / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1522, allocations: 32.05 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1525, allocations: 30.28 kB / 0.5642 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1544, allocations: 1.592 MB / 0.5657 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1547, allocations: 0.7012 MB / 0.5664 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.1548, allocations: 20.81 kB / 0.5664 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1549, allocations: 35.59 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1549, allocations: 3.938 kB / 0.5665 GB, free: 10.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1821, allocations: 4.059 MB / 0.5704 GB, free: 6.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/8.562, allocations: 3.938 kB / 0.5704 GB, free: 6.168 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.737575453938916]