Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001453/0.001453, allocations: 108.2 kB / 18.49 MB, free: 4.602 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.001447/0.001447, allocations: 215 kB / 21.45 MB, free: 1.652 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2275/0.2275, allocations: 44.91 MB / 355.8 MB, free: 12.41 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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.002022/0.002022, allocations: 59.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1336, allocations: 65.43 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003177/0.1368, allocations: 1.727 MB / 0.5542 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1386, allocations: 1.037 MB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1387, allocations: 7.938 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.139, allocations: 55.69 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1394, allocations: 99.59 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1396, allocations: 79.67 kB / 0.5555 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1398, allocations: 103.7 kB / 0.5556 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1399, allocations: 8.281 kB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1401, allocations: 51.72 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.1401, allocations: 39.78 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1402, allocations: 4 kB / 0.5557 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1403, allocations: 39.98 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.1404, allocations: 31.84 kB / 0.5557 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.1404, allocations: 47.67 kB / 0.5558 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1407, allocations: 131.4 kB / 0.5559 GB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1407, allocations: 4 kB / 0.5559 GB, free: 6.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1407, allocations: 3.938 kB / 0.5559 GB, free: 6.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1407, allocations: 0 / 0.5559 GB, free: 6.59 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.0006916/0.1414, allocations: 450.4 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1414, allocations: 16.02 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.1415, allocations: 4.172 kB / 0.5563 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1415, allocations: 30.75 kB / 0.5564 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1415, allocations: 16.84 kB / 0.5564 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.1419, allocations: 233 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1419, allocations: 4.125 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.142, allocations: 4 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1421, allocations: 57.61 kB / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1421, allocations: 0 / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1421, allocations: 0 / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1422, allocations: 0 / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.1422, allocations: 27.98 kB / 0.5567 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1427, allocations: 304.8 kB / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1429, allocations: 54.61 kB / 0.557 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.1429, allocations: 16.86 kB / 0.5571 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1429, allocations: 0 / 0.5571 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.1431, allocations: 71.39 kB / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1431, allocations: 0 / 0.5571 GB, free: 5.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005838/0.1437, allocations: 185.2 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1437, allocations: 51.41 kB / 0.5574 GB, free: 4.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.144, allocations: 279.7 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1441, allocations: 29.7 kB / 0.5577 GB, free: 4.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1442, allocations: 116.1 kB / 0.5578 GB, free: 4.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1442, allocations: 19.86 kB / 0.5578 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.1443, allocations: 29.7 kB / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1444, allocations: 326.8 kB / 0.5581 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.1445, allocations: 23.98 kB / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/0.1446, allocations: 37.64 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1447, allocations: 53.72 kB / 0.5582 GB, free: 3.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1447, allocations: 0 / 0.5582 GB, free: 3.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002162/0.1449, allocations: 121.4 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1449, allocations: 4 kB / 0.5584 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1449, allocations: 0 / 0.5584 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1449, allocations: 0 / 0.5584 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.145, allocations: 16 kB / 0.5584 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.145, allocations: 7.922 kB / 0.5584 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.1451, allocations: 4 kB / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1451, allocations: 0 / 0.5584 GB, free: 3.797 MB / 414.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.0001322/0.1452, allocations: 140 kB / 0.5585 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1453, allocations: 19.91 kB / 0.5585 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.1453, allocations: 25.58 kB / 0.5586 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1453, allocations: 0 / 0.5586 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.1453, allocations: 7.875 kB / 0.5586 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1453, allocations: 0 / 0.5586 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.1459, allocations: 407.2 kB / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1459, allocations: 384 / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.1459, allocations: 12 kB / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1459, allocations: 7.969 kB / 0.559 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1459, allocations: 4 kB / 0.559 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1459, allocations: 4 kB / 0.559 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1459, allocations: 3.984 kB / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1462, allocations: 208.2 kB / 0.5592 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1463, allocations: 92.95 kB / 0.5593 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1463, allocations: 7.984 kB / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1464, allocations: 4 kB / 0.5593 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1464, allocations: 7.984 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1464, allocations: 8 kB / 0.5593 GB, free: 2.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1467, allocations: 204.6 kB / 0.5595 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1467, allocations: 0 / 0.5595 GB, free: 2.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1469, allocations: 20 kB / 0.5595 GB, free: 2.531 MB / 414.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.002304/0.1492, allocations: 1.097 MB / 0.5606 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1494, allocations: 55.97 kB / 0.5606 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1494, allocations: 0 / 0.5606 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.1495, allocations: 31.92 kB / 0.5607 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1499, allocations: 31.44 kB / 0.5607 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.1521, allocations: 1.839 MB / 0.5625 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1525, allocations: 0.7219 MB / 0.5632 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.1526, allocations: 17.17 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.1527, allocations: 43.42 kB / 0.5633 GB, free: 14.74 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1527, allocations: 3.938 kB / 0.5633 GB, free: 14.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.1721, allocations: 3.863 MB / 0.567 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.562, allocations: 9 kB / 0.567 GB, free: 10.94 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.757554040988907] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.746109169966076 8.775638028 8.629346015 Calling exit ...