Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001621/0.001621, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002304/0.002304, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2248/0.2248, allocations: 44.9 MB / 359.6 MB, free: 6.301 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.00223/0.00223, allocations: 59.91 kB / 0.4939 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.332, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003174/0.3352, allocations: 1.743 MB / 0.5596 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3369, allocations: 1.045 MB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.337, allocations: 0 / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3373, allocations: 43.77 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3376, allocations: 99.53 kB / 0.5607 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.3378, allocations: 83.66 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.338, allocations: 95.7 kB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.3381, allocations: 17.75 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3382, allocations: 47.78 kB / 0.561 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.3382, allocations: 39.78 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3383, allocations: 4 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.3384, allocations: 39.98 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.3384, allocations: 19.92 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.3385, allocations: 35.73 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3387, allocations: 127.4 kB / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3387, allocations: 0 / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3387, allocations: 0 / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3387, allocations: 0 / 0.5612 GB, free: 4.328 MB / 398.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.0005221/0.3392, allocations: 353.5 kB / 0.5615 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3393, allocations: 8.031 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.105e-05/0.3393, allocations: 192 / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.3393, allocations: 34.75 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3393, allocations: 8.891 kB / 0.5616 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3396, allocations: 162.9 kB / 0.5618 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3396, allocations: 4.125 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3396, allocations: 4 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3398, allocations: 53.67 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3398, allocations: 4 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3398, allocations: 0 / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3398, allocations: 0 / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.3399, allocations: 23.92 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.3403, allocations: 260 kB / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3404, allocations: 50.67 kB / 0.5621 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.3405, allocations: 20.86 kB / 0.5622 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3405, allocations: 0 / 0.5622 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3407, allocations: 79.27 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3407, allocations: 0 / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.3412, allocations: 173.3 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3413, allocations: 55.41 kB / 0.5624 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3415, allocations: 206.2 kB / 0.5626 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3415, allocations: 25.7 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.3416, allocations: 104.1 kB / 0.5628 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3416, allocations: 31.77 kB / 0.5628 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.3416, allocations: 21.72 kB / 0.5628 GB, free: 2.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3418, allocations: 322.8 kB / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.3419, allocations: 23.98 kB / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.3419, allocations: 41.64 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3421, allocations: 61.72 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3421, allocations: 0 / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.3423, allocations: 105.5 kB / 0.5634 GB, free: 1.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3423, allocations: 4 kB / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3423, allocations: 0 / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3423, allocations: 4 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.3424, allocations: 20.02 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3424, allocations: 3.938 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.3424, allocations: 4 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3424, allocations: 8 kB / 0.5634 GB, free: 1.887 MB / 398.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.0001027/0.3425, allocations: 121.8 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3426, allocations: 11.91 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.3429, allocations: 119 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3429, allocations: 4 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3429, allocations: 7.938 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3429, allocations: 0 / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3433, allocations: 358.4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3433, allocations: 0 / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.3434, allocations: 8 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3434, allocations: 3.938 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3434, allocations: 7.984 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3434, allocations: 384 / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3434, allocations: 0 / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3436, allocations: 216.2 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3436, allocations: 15.88 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3437, allocations: 4 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.3437, allocations: 8 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3438, allocations: 7.984 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3438, allocations: 8 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3439, allocations: 148.2 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3439, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3442, allocations: 27.92 kB / 0.5644 GB, free: 0.7344 MB / 398.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.002214/0.3464, allocations: 1.095 MB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.3466, allocations: 63.89 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3466, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.3467, allocations: 24.06 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3471, allocations: 38.33 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3491, allocations: 1.65 MB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3495, allocations: 0.708 MB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.3495, allocations: 17.27 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.3496, allocations: 35.42 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3496, allocations: 0 / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.374, allocations: 3.65 MB / 0.5715 GB, free: 9.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.47, allocations: 19.5 kB / 0.5715 GB, free: 9.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.658351870020851] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.688488318002783 11.710814674 11.367738993 Calling exit ...