Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001482/0.001482, 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.001631/0.001631, allocations: 205.2 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.554/1.554, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2529/0.2529, allocations: 44.91 MB / 359.6 MB, free: 6.309 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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.002025/0.002025, allocations: 68.19 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003248/0.3375, allocations: 1.739 MB / 0.5596 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.3402, allocations: 1.735 MB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.3403, allocations: 7.938 kB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.3406, allocations: 39.77 kB / 0.5613 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.341, allocations: 103.5 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3412, allocations: 75.73 kB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3414, allocations: 111.6 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3415, allocations: 11.78 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3416, allocations: 43.8 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3418, allocations: 43.83 kB / 0.5617 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.3418, allocations: 8 kB / 0.5617 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.342, allocations: 111.9 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.3421, allocations: 19.92 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.3422, allocations: 35.73 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.3425, allocations: 177.3 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3425, allocations: 3.938 kB / 0.562 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3425, allocations: 0 / 0.562 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3425, allocations: 4 kB / 0.562 GB, free: 3.492 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.0005525/0.343, allocations: 349.5 kB / 0.5623 GB, free: 3.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3431, allocations: 8.031 kB / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.35e-05/0.3431, allocations: 192 / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.3431, allocations: 34.75 kB / 0.5624 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3432, allocations: 12.84 kB / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3434, allocations: 159.9 kB / 0.5626 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3434, allocations: 11.94 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3435, allocations: 0 / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3436, allocations: 67.39 kB / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3436, allocations: 0 / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3436, allocations: 0 / 0.5626 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3436, allocations: 4 kB / 0.5626 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.3437, allocations: 15.98 kB / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.3441, allocations: 271.9 kB / 0.5629 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3443, allocations: 54.62 kB / 0.563 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.3443, allocations: 20.84 kB / 0.563 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3443, allocations: 0 / 0.563 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3445, allocations: 75.39 kB / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3445, allocations: 0 / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005478/0.3451, allocations: 173.3 kB / 0.5632 GB, free: 2.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.3451, allocations: 81.11 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.3453, allocations: 162.1 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3453, allocations: 25.7 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3454, allocations: 104.1 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.3454, allocations: 31.75 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.3455, allocations: 21.72 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3456, allocations: 322.8 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.3457, allocations: 23.98 kB / 0.564 GB, free: 1.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.3457, allocations: 38.56 kB / 0.564 GB, free: 1.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3459, allocations: 73.78 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3459, allocations: 0 / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.3461, allocations: 93.58 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3461, allocations: 8 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3461, allocations: 192 / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3461, allocations: 3.938 kB / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.3462, allocations: 23.86 kB / 0.5642 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3462, allocations: 4 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.3462, allocations: 4 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3463, allocations: 8.031 kB / 0.5642 GB, free: 1.031 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 9.799e-05/0.3464, allocations: 120.6 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3464, allocations: 11.95 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.3466, allocations: 114.3 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3466, allocations: 7.875 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3466, allocations: 0 / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3466, allocations: 0 / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.3471, allocations: 370.3 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3471, allocations: 7.938 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.3471, allocations: 8 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3471, allocations: 0 / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3471, allocations: 3.984 kB / 0.5648 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3471, allocations: 0 / 0.5648 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3471, allocations: 8.359 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3474, allocations: 208.3 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.3474, allocations: 3.953 kB / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3474, allocations: 8 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.3475, allocations: 8 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.3475, allocations: 7.922 kB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3475, allocations: 4 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3477, allocations: 123.2 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3477, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.348, allocations: 51.86 kB / 0.5652 GB, free: 15.9 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.002382/0.3504, allocations: 1.19 MB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3506, allocations: 63.91 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3506, allocations: 0 / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.3506, allocations: 28.08 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.351, allocations: 36 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3528, allocations: 1.601 MB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3532, allocations: 0.6962 MB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.3532, allocations: 20.97 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.3533, allocations: 43.41 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3533, allocations: 0 / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3787, allocations: 4.234 MB / 0.5729 GB, free: 8.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.57, allocations: 2.75 kB / 0.5729 GB, free: 8.105 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.718599258980248] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.78721963899443 11.803234284 11.457575982 Calling exit ...