Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.001628/0.001628, allocations: 121.6 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.001524/0.001524, allocations: 205 kB / 21.45 MB, free: 1.629 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.506/1.506, allocations: 230.5 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 357.7 MB, free: 10.3 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-beta.om/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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003153/0.003153, allocations: 87.84 kB / 0.4918 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1461, allocations: 66.03 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003338/0.1495, allocations: 1.731 MB / 0.5579 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1512, allocations: 1.039 MB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.1513, allocations: 0 / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1516, allocations: 35.78 kB / 0.559 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1519, allocations: 99.55 kB / 0.5591 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1521, allocations: 75.72 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1522, allocations: 107.6 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.1523, allocations: 15.94 kB / 0.5593 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.1524, allocations: 47.77 kB / 0.5593 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.1525, allocations: 31.86 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1525, allocations: 4 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1526, allocations: 47.97 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1527, allocations: 19.86 kB / 0.5594 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.1527, allocations: 31.75 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1529, allocations: 111.5 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1529, allocations: 4 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1529, allocations: 0 / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1529, allocations: 0 / 0.5596 GB, free: 2.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005826/0.1535, allocations: 410.8 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1536, allocations: 8.031 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.1536, allocations: 34.75 kB / 0.56 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1536, allocations: 8.891 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1539, allocations: 216.1 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.154, allocations: 4.375 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.154, allocations: 8.359 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1541, allocations: 57.8 kB / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1541, allocations: 3.938 kB / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1541, allocations: 0 / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1541, allocations: 0 / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.1542, allocations: 23.98 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.1546, allocations: 292.7 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1548, allocations: 50.69 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.1548, allocations: 20.84 kB / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1549, allocations: 0 / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.155, allocations: 67.39 kB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.155, allocations: 4 kB / 0.5607 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005395/0.1555, allocations: 169.4 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1556, allocations: 51.41 kB / 0.5609 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1558, allocations: 170.2 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1558, allocations: 29.7 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.1558, allocations: 100.1 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.1559, allocations: 27.78 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1559, allocations: 25.7 kB / 0.5613 GB, free: 168 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1561, allocations: 330.8 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.1562, allocations: 20.36 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.1562, allocations: 37.66 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1563, allocations: 53.7 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1563, allocations: 4 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.1565, allocations: 113.5 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1565, allocations: 8.031 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1566, allocations: 0 / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1566, allocations: 0 / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.1567, allocations: 19.94 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1567, allocations: 0 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1567, allocations: 7.984 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1567, allocations: 4 kB / 0.5618 GB, free: 15.55 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.0001147/0.1568, allocations: 121.8 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1568, allocations: 7.953 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.1569, allocations: 20.7 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1569, allocations: 4 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1569, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1569, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1574, allocations: 403.3 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1574, allocations: 0 / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.1574, allocations: 11.98 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1574, allocations: 0 / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1574, allocations: 8.031 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1574, allocations: 3.938 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1574, allocations: 0 / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1577, allocations: 200.3 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1577, allocations: 89.02 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1577, allocations: 0 / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.1578, allocations: 19.92 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1579, allocations: 7.984 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1579, allocations: 4 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.158, allocations: 136 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1583, allocations: 23.94 kB / 0.5628 GB, free: 14.41 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.002118/0.1604, allocations: 1.088 MB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1606, allocations: 59.86 kB / 0.564 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1606, allocations: 0 / 0.564 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.1606, allocations: 27.98 kB / 0.564 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.161, allocations: 19.98 kB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1628, allocations: 1.615 MB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1632, allocations: 0.7079 MB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.1632, allocations: 16.88 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.1633, allocations: 31.42 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1633, allocations: 0 / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.1875, allocations: 3.366 MB / 0.5696 GB, free: 7.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.161, allocations: 16.64 kB / 0.5696 GB, free: 7.547 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.334392732009292] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.28386443015188 8.298602775 8.1428065 Calling exit ...