Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001272/0.001272, allocations: 121 kB / 18.5 MB, free: 4.562 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.001405/0.001405, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.535/1.535, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.9 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1399, allocations: 65.43 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004807/0.1447, allocations: 1.826 MB / 0.5543 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.1479, allocations: 1.109 MB / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.1481, allocations: 11.94 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009825/0.1491, allocations: 307.3 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000908/0.15, allocations: 259.2 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1505, allocations: 107.6 kB / 0.556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.1511, allocations: 263.2 kB / 0.5563 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1512, allocations: 9.688 kB / 0.5563 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.1516, allocations: 139.5 kB / 0.5564 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.1521, allocations: 215.5 kB / 0.5566 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.1522, allocations: 4 kB / 0.5566 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1524, allocations: 51.98 kB / 0.5567 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.1527, allocations: 139.5 kB / 0.5568 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.153, allocations: 146.8 kB / 0.5569 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009421/0.154, allocations: 386.5 kB / 0.5573 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.154, allocations: 0 / 0.5573 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.154, allocations: 0 / 0.5573 GB, free: 5.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.154, allocations: 0 / 0.5573 GB, free: 5.133 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.002075/0.1561, allocations: 0.7616 MB / 0.5581 GB, free: 4.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.1561, allocations: 12.02 kB / 0.5581 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.623e-05/0.1562, allocations: 8.188 kB / 0.5581 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.175e-05/0.1563, allocations: 42.69 kB / 0.5581 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.1565, allocations: 52.61 kB / 0.5582 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.1576, allocations: 456.4 kB / 0.5586 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.1576, allocations: 8.125 kB / 0.5586 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1577, allocations: 4 kB / 0.5586 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.158, allocations: 87.3 kB / 0.5587 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.158, allocations: 4 kB / 0.5587 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.158, allocations: 0 / 0.5587 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.158, allocations: 7.984 kB / 0.5587 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1582, allocations: 31.97 kB / 0.5587 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/0.159, allocations: 382.3 kB / 0.5591 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.1594, allocations: 105.1 kB / 0.5592 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1595, allocations: 37.7 kB / 0.5592 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1595, allocations: 7.922 kB / 0.5592 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.1599, allocations: 113 kB / 0.5594 GB, free: 2.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.1599, allocations: 0 / 0.5594 GB, free: 2.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008021/0.1607, allocations: 193.2 kB / 0.5595 GB, free: 2.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.1608, allocations: 81.11 kB / 0.5596 GB, free: 2.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.1628, allocations: 1.054 MB / 0.5606 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1628, allocations: 25.7 kB / 0.5607 GB, free: 1.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.1631, allocations: 240.1 kB / 0.5609 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.1632, allocations: 35.73 kB / 0.5609 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.1633, allocations: 25.72 kB / 0.561 GB, free: 1.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.1636, allocations: 366.8 kB / 0.5613 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1637, allocations: 31.97 kB / 0.5613 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1638, allocations: 55.42 kB / 0.5614 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1641, allocations: 95.78 kB / 0.5615 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1641, allocations: 4 kB / 0.5615 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005319/0.1647, allocations: 173.2 kB / 0.5617 GB, free: 396 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1647, allocations: 6.031 kB / 0.5617 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1647, allocations: 4 kB / 0.5617 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1647, allocations: 0 / 0.5617 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1649, allocations: 31.98 kB / 0.5617 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1649, allocations: 0 / 0.5617 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1651, allocations: 11.98 kB / 0.5617 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1651, allocations: 4 kB / 0.5617 GB, free: 340 kB / 414.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.0003373/0.1654, allocations: 227.8 kB / 0.5619 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1655, allocations: 55.62 kB / 0.562 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.1657, allocations: 64.12 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1657, allocations: 0 / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1657, allocations: 4 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1657, allocations: 0 / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1662, allocations: 357.3 kB / 0.5624 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1662, allocations: 0 / 0.5624 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.1663, allocations: 4 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1663, allocations: 4 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.1663, allocations: 3.984 kB / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1663, allocations: 0 / 0.5624 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1663, allocations: 4 kB / 0.5624 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.1668, allocations: 213.4 kB / 0.5626 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.167, allocations: 136.8 kB / 0.5627 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.1671, allocations: 8 kB / 0.5627 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1672, allocations: 3.984 kB / 0.5627 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.1672, allocations: 11.92 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.1673, allocations: 12.12 kB / 0.5628 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.1683, allocations: 0.78 MB / 0.5635 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1683, allocations: 4 kB / 0.5635 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1686, allocations: 40 kB / 0.5636 GB, free: 14.32 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.00218/0.1707, allocations: 1.061 MB / 0.5646 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.171, allocations: 79.91 kB / 0.5647 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.171, allocations: 0 / 0.5647 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.1712, allocations: 39.91 kB / 0.5647 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1717, allocations: 65.78 kB / 0.5648 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.1782, allocations: 4.571 MB / 0.5692 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.1788, allocations: 0.8505 MB / 0.5701 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.179, allocations: 58.94 kB / 0.5701 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.1792, allocations: 155.4 kB / 0.5703 GB, free: 7.453 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1792, allocations: 4 kB / 0.5703 GB, free: 7.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.2099, allocations: 9.19 MB / 0.5793 GB, free: 14.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.004/9.214, allocations: 4.062 kB / 0.5793 GB, free: 14.33 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.434736273018643] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.395444929017685 9.410227186 9.25302137 Calling exit ...