Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001383/0.001383, 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.001715/0.001715, 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2172/0.2172, allocations: 44.9 MB / 359.6 MB, free: 6.328 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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.00198/0.00198, allocations: 71.89 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 65.47 MB / 0.5579 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003968/0.3524, allocations: 1.744 MB / 0.5596 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3543, allocations: 1.045 MB / 0.5606 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.3543, allocations: 3.938 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.3547, allocations: 51.75 kB / 0.5606 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.355, allocations: 91.61 kB / 0.5607 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.3552, allocations: 83.61 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3554, allocations: 99.75 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.3555, allocations: 9.812 kB / 0.5609 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3556, allocations: 47.78 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.3557, allocations: 35.73 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3557, allocations: 4 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.3558, allocations: 47.97 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.3559, allocations: 19.92 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3559, allocations: 39.73 kB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3562, allocations: 123.4 kB / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3562, allocations: 0 / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3562, allocations: 0 / 0.5612 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3562, allocations: 3.938 kB / 0.5612 GB, free: 4.324 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.000537/0.3567, allocations: 353.5 kB / 0.5615 GB, free: 3.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3567, allocations: 12.03 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.3568, allocations: 4.188 kB / 0.5616 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.3568, allocations: 34.75 kB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.3568, allocations: 8.891 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3572, allocations: 162.2 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3572, allocations: 8.125 kB / 0.5618 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3572, allocations: 4 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3574, allocations: 61.61 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3574, allocations: 0 / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3574, allocations: 0 / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3574, allocations: 4 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.3575, allocations: 19.98 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3578, allocations: 259.9 kB / 0.5621 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.358, allocations: 62.61 kB / 0.5622 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.3581, allocations: 16.86 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3581, allocations: 4 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3582, allocations: 75.31 kB / 0.5623 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3582, allocations: 0 / 0.5623 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005292/0.3588, allocations: 173.3 kB / 0.5624 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3588, allocations: 55.41 kB / 0.5625 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.359, allocations: 222.6 kB / 0.5627 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.3591, allocations: 33.7 kB / 0.5627 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.3591, allocations: 100.1 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3592, allocations: 23.8 kB / 0.5628 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3592, allocations: 29.7 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3594, allocations: 322.8 kB / 0.5632 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.3594, allocations: 20 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.3595, allocations: 37.64 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3596, allocations: 61.77 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3596, allocations: 4 kB / 0.5633 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002237/0.3598, allocations: 109.5 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3599, allocations: 8 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3599, allocations: 0 / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3599, allocations: 0 / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.36, allocations: 12 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.36, allocations: 3.938 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.36, allocations: 12.02 kB / 0.5634 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.36, allocations: 4 kB / 0.5634 GB, free: 1.84 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.0001059/0.3601, allocations: 128.2 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.3602, allocations: 19.89 kB / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.3604, allocations: 115 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3604, allocations: 0 / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3604, allocations: 8.312 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3604, allocations: 3.984 kB / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3609, allocations: 366.4 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3609, allocations: 4 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.3609, allocations: 8 kB / 0.5641 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3609, allocations: 3.938 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3609, allocations: 0 / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3609, allocations: 7.984 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3609, allocations: 3.938 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3612, allocations: 204.3 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.3612, allocations: 12.08 kB / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3612, allocations: 4 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.3613, allocations: 7.938 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3613, allocations: 7.984 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3613, allocations: 4 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3615, allocations: 156.3 kB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3615, allocations: 4 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3617, allocations: 23.92 kB / 0.5645 GB, free: 0.6797 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.002171/0.3639, allocations: 1.099 MB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.3641, allocations: 55.91 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3641, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.3642, allocations: 23.98 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3645, allocations: 32.03 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.3664, allocations: 1.695 MB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3668, allocations: 0.708 MB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.3668, allocations: 24.88 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.3669, allocations: 35.42 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3669, allocations: 0 / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.3899, allocations: 3.726 MB / 0.5717 GB, free: 9.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 6.812 kB / 0.5717 GB, free: 9.398 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.625274815014564] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.802089195989538 11.827783454 11.466978922 Calling exit ...