Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.002005/0.002005, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.002255/0.002255, allocations: 219 kB / 21.46 MB, free: 1.586 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.507/1.507, 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.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.2313/0.2313, allocations: 46.92 MB / 357.8 MB, free: 10.4 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.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.91 kB / 0.4917 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1415, allocations: 65.98 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003773/0.1453, allocations: 1.735 MB / 0.5578 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1473, allocations: 1.04 MB / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.1474, allocations: 0 / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1477, allocations: 43.77 kB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1481, allocations: 99.53 kB / 0.559 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1483, allocations: 75.73 kB / 0.5591 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1485, allocations: 107.6 kB / 0.5592 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1486, allocations: 12 kB / 0.5592 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1488, allocations: 47.77 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.1488, allocations: 27.86 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1489, allocations: 4 kB / 0.5593 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.149, allocations: 51.91 kB / 0.5593 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.149, allocations: 23.86 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.013e-05/0.1491, allocations: 39.73 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1494, allocations: 119.5 kB / 0.5595 GB, free: 2.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1494, allocations: 0 / 0.5595 GB, free: 2.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1494, allocations: 0 / 0.5595 GB, free: 2.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1494, allocations: 3.938 kB / 0.5595 GB, free: 2.395 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.0006406/0.15, allocations: 430.6 kB / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1501, allocations: 8.031 kB / 0.5599 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.1501, allocations: 192 / 0.5599 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.1501, allocations: 42.69 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1502, allocations: 16.88 kB / 0.56 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1505, allocations: 216.1 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1505, allocations: 12.12 kB / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1505, allocations: 0 / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1507, allocations: 53.67 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1507, allocations: 0 / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1507, allocations: 0 / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1507, allocations: 4 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.1508, allocations: 19.92 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1512, allocations: 292.8 kB / 0.5605 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1514, allocations: 54.67 kB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.1514, allocations: 16.86 kB / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1515, allocations: 4 kB / 0.5606 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1516, allocations: 75.31 kB / 0.5607 GB, free: 1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1516, allocations: 0 / 0.5607 GB, free: 1 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005782/0.1522, allocations: 177.6 kB / 0.5608 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1522, allocations: 55.41 kB / 0.5609 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1525, allocations: 214 kB / 0.5611 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1525, allocations: 33.7 kB / 0.5611 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1526, allocations: 100.1 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1526, allocations: 23.86 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1527, allocations: 29.7 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1528, allocations: 318.8 kB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.1529, allocations: 24.14 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.153, allocations: 37.7 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1531, allocations: 57.64 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1531, allocations: 4 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.1533, allocations: 113.4 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1533, allocations: 4 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1533, allocations: 0 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1533, allocations: 0 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.1534, allocations: 20.12 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1534, allocations: 3.938 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.1535, allocations: 11.92 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1535, allocations: 0 / 0.5618 GB, free: 15.73 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.0001207/0.1536, allocations: 136 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1536, allocations: 11.91 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.1537, allocations: 21.55 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1537, allocations: 0 / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1537, allocations: 3.938 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1537, allocations: 0 / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.1542, allocations: 395.3 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1542, allocations: 4.031 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.1542, allocations: 15.94 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1543, allocations: 7.938 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1543, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1543, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1543, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1545, allocations: 200.3 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.1546, allocations: 101 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1546, allocations: 4 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.1547, allocations: 0 / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1547, allocations: 7.984 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1548, allocations: 8 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1549, allocations: 156.3 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1549, allocations: 4 kB / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1552, allocations: 23.94 kB / 0.5629 GB, free: 14.54 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.002304/0.1575, allocations: 1.11 MB / 0.564 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1577, allocations: 55.91 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1577, allocations: 0 / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.1578, allocations: 31.92 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1581, allocations: 24.28 kB / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1602, allocations: 1.708 MB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.1606, allocations: 0.7002 MB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.1607, allocations: 20.48 kB / 0.5665 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.1607, allocations: 39.42 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1607, allocations: 7.938 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.1815, allocations: 3.559 MB / 0.57 GB, free: 7.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.655, allocations: 12 kB / 0.57 GB, free: 7.398 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.786185250035487] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.844929629995022 8.870932609 8.716888711 Calling exit ...