Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001758/0.001758, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.00213/0.00213, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.408/1.408, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2209/0.2209, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 79.88 kB / 0.4917 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1366, allocations: 66.06 MB / 0.5563 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003575/0.1401, allocations: 1.928 MB / 0.5581 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1424, allocations: 1.135 MB / 0.5592 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.1426, allocations: 7.938 kB / 0.5593 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.1431, allocations: 223.4 kB / 0.5595 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.1438, allocations: 215.2 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1441, allocations: 111.7 kB / 0.5598 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.1445, allocations: 263.2 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1447, allocations: 29.61 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1449, allocations: 123.6 kB / 0.5602 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1451, allocations: 171.4 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1451, allocations: 11.94 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1453, allocations: 59.98 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.1454, allocations: 63.75 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.1455, allocations: 87.3 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.1459, allocations: 246.8 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1459, allocations: 0 / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1459, allocations: 4 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1459, allocations: 0 / 0.5608 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008598/0.1468, allocations: 0.5716 MB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1468, allocations: 12.03 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.1468, allocations: 192 / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.1469, allocations: 42.73 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.1469, allocations: 28.75 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.1474, allocations: 300.3 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1474, allocations: 8.375 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1474, allocations: 8.312 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1477, allocations: 111.3 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1477, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1477, allocations: 4 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1477, allocations: 3.938 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1479, allocations: 47.95 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.1485, allocations: 484.7 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.1488, allocations: 117.2 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1489, allocations: 45.83 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.149, allocations: 7.938 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.1492, allocations: 117 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1492, allocations: 0 / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.1506, allocations: 0.5017 MB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1506, allocations: 81.11 kB / 0.5632 GB, free: 14.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.1511, allocations: 448.4 kB / 0.5636 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1512, allocations: 33.7 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1513, allocations: 160.5 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.1514, allocations: 75.41 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.1514, allocations: 41.72 kB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1516, allocations: 350.7 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1517, allocations: 55.97 kB / 0.5643 GB, free: 12.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1519, allocations: 91.34 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.1522, allocations: 167.3 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1522, allocations: 4 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004068/0.1526, allocations: 225.3 kB / 0.5648 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1526, allocations: 9.656 kB / 0.5648 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1526, allocations: 4 kB / 0.5648 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1526, allocations: 0 / 0.5648 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1528, allocations: 51.91 kB / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1528, allocations: 64 / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.1529, allocations: 11.95 kB / 0.5648 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1529, allocations: 12 kB / 0.5649 GB, free: 12.3 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.0001697/0.153, allocations: 165.8 kB / 0.565 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.1531, allocations: 35.75 kB / 0.5651 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.1532, allocations: 42.8 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1532, allocations: 0 / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1532, allocations: 4 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1532, allocations: 0 / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.1542, allocations: 0.7389 MB / 0.5658 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.1542, allocations: 7.938 kB / 0.5658 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.1542, allocations: 31.92 kB / 0.5659 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1542, allocations: 4 kB / 0.5659 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1543, allocations: 12.11 kB / 0.5659 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1543, allocations: 8 kB / 0.5659 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1543, allocations: 0 / 0.5659 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.1548, allocations: 429.8 kB / 0.5663 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1549, allocations: 100.9 kB / 0.5664 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.155, allocations: 11.98 kB / 0.5664 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1551, allocations: 4 kB / 0.5664 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.1552, allocations: 27.84 kB / 0.5664 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.1552, allocations: 8 kB / 0.5664 GB, free: 10.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000342/0.1555, allocations: 335 kB / 0.5668 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 0.5668 GB, free: 10.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1559, allocations: 51.94 kB / 0.5668 GB, free: 10.18 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.002705/0.1586, allocations: 1.369 MB / 0.5681 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.159, allocations: 150.4 kB / 0.5683 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.159, allocations: 4 kB / 0.5683 GB, free: 8.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1592, allocations: 72.22 kB / 0.5684 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1597, allocations: 56.22 kB / 0.5684 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.1633, allocations: 2.888 MB / 0.5712 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.1638, allocations: 0.7753 MB / 0.572 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1639, allocations: 41.91 kB / 0.572 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1641, allocations: 99.39 kB / 0.5721 GB, free: 4.746 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1641, allocations: 0 / 0.5721 GB, free: 4.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.1887, allocations: 6.512 MB / 0.5785 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.651, allocations: 18.75 kB / 0.5785 GB, free: 14.29 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.786481502989773]