Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001658/0.001658, allocations: 112.2 kB / 21.23 MB, free: 0.7305 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.002201/0.002201, allocations: 212.9 kB / 24.53 MB, free: 4.141 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2428/0.2428, allocations: 44.92 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] 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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.0031/0.0031, allocations: 67.89 kB / 0.4939 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3492, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00346/0.3527, allocations: 1.741 MB / 0.5596 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3554, allocations: 1.743 MB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.3555, allocations: 0 / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.3559, allocations: 35.77 kB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.3563, allocations: 103.5 kB / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3565, allocations: 83.66 kB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3568, allocations: 107.7 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3569, allocations: 13.77 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.357, allocations: 55.77 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.3572, allocations: 39.84 kB / 0.5617 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3572, allocations: 7.984 kB / 0.5617 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3574, allocations: 103.9 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.3575, allocations: 23.91 kB / 0.5618 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.3575, allocations: 35.73 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3579, allocations: 175.4 kB / 0.562 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3579, allocations: 0 / 0.562 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3579, allocations: 0 / 0.562 GB, free: 3.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3579, allocations: 0 / 0.562 GB, free: 3.504 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.0006512/0.3585, allocations: 349.5 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3586, allocations: 8.031 kB / 0.5624 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.3586, allocations: 4.188 kB / 0.5624 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.3586, allocations: 30.75 kB / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.3587, allocations: 12.84 kB / 0.5624 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.3591, allocations: 168.1 kB / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3591, allocations: 0 / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.3591, allocations: 8 kB / 0.5626 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.3594, allocations: 71.33 kB / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3594, allocations: 0 / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3594, allocations: 0 / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3594, allocations: 0 / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.3595, allocations: 19.98 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3599, allocations: 263.9 kB / 0.5629 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3601, allocations: 54.62 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.3601, allocations: 24.84 kB / 0.563 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3602, allocations: 3.984 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3603, allocations: 71.39 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3603, allocations: 0 / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005878/0.3609, allocations: 173.3 kB / 0.5632 GB, free: 2.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.361, allocations: 77.11 kB / 0.5633 GB, free: 2.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3612, allocations: 171.8 kB / 0.5635 GB, free: 1.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3612, allocations: 29.64 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.3613, allocations: 104.1 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.3613, allocations: 31.75 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3614, allocations: 25.7 kB / 0.5636 GB, free: 1.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3615, allocations: 318.8 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.3616, allocations: 20 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.3617, allocations: 46.5 kB / 0.564 GB, free: 1.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3618, allocations: 61.73 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3618, allocations: 0 / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.362, allocations: 101.6 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.362, allocations: 4 kB / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.362, allocations: 0 / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.362, allocations: 3.938 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.3621, allocations: 16 kB / 0.5642 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3621, allocations: 4.141 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.3622, allocations: 11.98 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3622, allocations: 4.031 kB / 0.5642 GB, free: 1.039 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.0001272/0.3623, allocations: 125.7 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3623, allocations: 7.953 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3626, allocations: 114.4 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3626, allocations: 3.938 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3626, allocations: 4 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3626, allocations: 0 / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.3632, allocations: 374.3 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3632, allocations: 0 / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.3632, allocations: 8 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3632, allocations: 0 / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3633, allocations: 7.984 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3633, allocations: 384 / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3633, allocations: 3.938 kB / 0.5648 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3635, allocations: 204.3 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.3636, allocations: 11.95 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3636, allocations: 4 kB / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.3637, allocations: 7.984 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3637, allocations: 4 kB / 0.565 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3637, allocations: 7.984 kB / 0.5651 GB, free: 80 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.364, allocations: 123.4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.364, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.3643, allocations: 51.8 kB / 0.5652 GB, free: 15.91 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.002419/0.3667, allocations: 1.197 MB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3669, allocations: 55.92 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3669, allocations: 0 / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.367, allocations: 27.98 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3674, allocations: 27.06 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3693, allocations: 1.597 MB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3696, allocations: 0.7079 MB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.3697, allocations: 20.91 kB / 0.5688 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.3697, allocations: 39.42 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3697, allocations: 0 / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.3966, allocations: 4.23 MB / 0.5729 GB, free: 8.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 8 kB / 0.5729 GB, free: 8.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.75740655901609] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.779050907003693 11.793228012 11.431942467 Calling exit ...