Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001254/0.001254, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001389/0.001389, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.3125/0.3125, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 82.11 kB / 0.4913 GB, free: 26.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1289, allocations: 65.98 MB / 0.5558 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004033/0.1329, allocations: 2.37 MB / 0.5581 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1357, allocations: 1.409 MB / 0.5594 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1359, allocations: 7.938 kB / 0.5595 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.1365, allocations: 291 kB / 0.5597 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.1373, allocations: 338.6 kB / 0.5601 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.1378, allocations: 219.4 kB / 0.5603 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.1385, allocations: 0.553 MB / 0.5608 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1387, allocations: 41.3 kB / 0.5608 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.139, allocations: 251 kB / 0.5611 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.1394, allocations: 290.9 kB / 0.5614 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.1394, allocations: 20 kB / 0.5614 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1396, allocations: 63.97 kB / 0.5614 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1397, allocations: 115.4 kB / 0.5615 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.1399, allocations: 186.6 kB / 0.5617 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.1405, allocations: 418 kB / 0.5621 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1405, allocations: 4 kB / 0.5621 GB, free: 2.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1405, allocations: 0 / 0.5621 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1405, allocations: 4 kB / 0.5621 GB, free: 2.457 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001279/0.1418, allocations: 0.8158 MB / 0.5629 GB, free: 1.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1418, allocations: 8.031 kB / 0.5629 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.1419, allocations: 46.67 kB / 0.563 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.142, allocations: 68.55 kB / 0.563 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.1427, allocations: 432.2 kB / 0.5635 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1427, allocations: 16.36 kB / 0.5635 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.1428, allocations: 16.31 kB / 0.5635 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1432, allocations: 202 kB / 0.5637 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1432, allocations: 8 kB / 0.5637 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1432, allocations: 0 / 0.5637 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1432, allocations: 4 kB / 0.5637 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1435, allocations: 99.86 kB / 0.5638 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1446, allocations: 0.8683 MB / 0.5646 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.1452, allocations: 277.2 kB / 0.5649 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.1454, allocations: 96.25 kB / 0.565 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1455, allocations: 4 kB / 0.565 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.1459, allocations: 220.7 kB / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.1459, allocations: 4 kB / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002155/0.1481, allocations: 1.045 MB / 0.5662 GB, free: 13.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1482, allocations: 158.2 kB / 0.5664 GB, free: 13.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.149, allocations: 0.6553 MB / 0.567 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.149, allocations: 37.7 kB / 0.5671 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.1492, allocations: 241 kB / 0.5673 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1493, allocations: 123 kB / 0.5674 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1495, allocations: 78.12 kB / 0.5675 GB, free: 12.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1497, allocations: 370.8 kB / 0.5678 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1499, allocations: 96.83 kB / 0.5679 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1502, allocations: 188.8 kB / 0.5681 GB, free: 11.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.1507, allocations: 296.8 kB / 0.5684 GB, free: 11.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1507, allocations: 0 / 0.5684 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007813/0.1515, allocations: 420.9 kB / 0.5688 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1515, allocations: 4 kB / 0.5688 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1515, allocations: 4 kB / 0.5688 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1516, allocations: 4 kB / 0.5688 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1519, allocations: 83.83 kB / 0.5689 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1519, allocations: 7.938 kB / 0.5689 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1521, allocations: 19.98 kB / 0.5689 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1521, allocations: 20 kB / 0.5689 GB, free: 11.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002675/0.1524, allocations: 208.4 kB / 0.5691 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1525, allocations: 75.45 kB / 0.5692 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.1526, allocations: 64.41 kB / 0.5693 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1526, allocations: 7.938 kB / 0.5693 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1526, allocations: 0 / 0.5693 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1527, allocations: 7.984 kB / 0.5693 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.1544, allocations: 1.277 MB / 0.5705 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1544, allocations: 0 / 0.5705 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1546, allocations: 51.92 kB / 0.5706 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1546, allocations: 4.156 kB / 0.5706 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.1546, allocations: 19.98 kB / 0.5706 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.1546, allocations: 8.688 kB / 0.5706 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1546, allocations: 3.938 kB / 0.5706 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/0.1555, allocations: 0.8166 MB / 0.5714 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1557, allocations: 128.7 kB / 0.5715 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.1557, allocations: 16 kB / 0.5715 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.1561, allocations: 31.91 kB / 0.5716 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.1561, allocations: 31.95 kB / 0.5716 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.1562, allocations: 20 kB / 0.5716 GB, free: 8.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005964/0.1568, allocations: 494.8 kB / 0.5721 GB, free: 7.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1568, allocations: 0 / 0.5721 GB, free: 7.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006118/0.1574, allocations: 79.94 kB / 0.5722 GB, free: 7.609 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003132/0.1605, allocations: 1.734 MB / 0.5739 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006906/0.1612, allocations: 276.2 kB / 0.5741 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1612, allocations: 0 / 0.5741 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1615, allocations: 140.7 kB / 0.5743 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.1627, allocations: 140.2 kB / 0.5744 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.1691, allocations: 4.534 MB / 0.5788 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.1697, allocations: 0.8628 MB / 0.5797 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.1699, allocations: 84.12 kB / 0.5797 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.1702, allocations: 191.3 kB / 0.5799 GB, free: 15.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1702, allocations: 0 / 0.5799 GB, free: 15.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.2062, allocations: 10.97 MB / 0.5906 GB, free: 4.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.872/9.078, allocations: 15.86 kB / 0.5907 GB, free: 4.68 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.392980199307203]