Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001228/0.001228, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001508/0.001508, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2456/0.2456, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.002065/0.002065, allocations: 75.88 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 65.46 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003371/0.3603, allocations: 1.723 MB / 0.5595 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3622, allocations: 0.9677 MB / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.3623, allocations: 3.938 kB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.3627, allocations: 111.6 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.3631, allocations: 131.5 kB / 0.5607 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3633, allocations: 79.67 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3635, allocations: 131.7 kB / 0.5609 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3637, allocations: 17.8 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3638, allocations: 63.7 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.364, allocations: 79.78 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.364, allocations: 4 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3641, allocations: 59.98 kB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.3642, allocations: 39.83 kB / 0.5611 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.3643, allocations: 31.75 kB / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.3646, allocations: 167.2 kB / 0.5613 GB, free: 3.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3646, allocations: 0 / 0.5613 GB, free: 3.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3646, allocations: 0 / 0.5613 GB, free: 3.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3646, allocations: 0 / 0.5613 GB, free: 3.922 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007109/0.3653, allocations: 391.6 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3653, allocations: 16.03 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.932e-05/0.3654, allocations: 4.188 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.3654, allocations: 42.73 kB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3655, allocations: 12.84 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3658, allocations: 163.2 kB / 0.5619 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3658, allocations: 8.125 kB / 0.5619 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3658, allocations: 0 / 0.5619 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.366, allocations: 69.66 kB / 0.562 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3661, allocations: 0 / 0.562 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3661, allocations: 0 / 0.562 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3661, allocations: 4 kB / 0.562 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3662, allocations: 43.91 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.3667, allocations: 283.8 kB / 0.5623 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.367, allocations: 78.53 kB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3671, allocations: 24.84 kB / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3671, allocations: 11.88 kB / 0.5624 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3672, allocations: 79.41 kB / 0.5625 GB, free: 2.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3672, allocations: 0 / 0.5625 GB, free: 2.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.00098/0.3682, allocations: 297.6 kB / 0.5628 GB, free: 2.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.3683, allocations: 63.39 kB / 0.5628 GB, free: 2.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.3686, allocations: 259.8 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3687, allocations: 29.7 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3688, allocations: 112.1 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.3688, allocations: 43.62 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.3689, allocations: 25.72 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.3691, allocations: 334.8 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.3692, allocations: 31.98 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3693, allocations: 57.69 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3695, allocations: 97.58 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3695, allocations: 0 / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002881/0.3698, allocations: 145.5 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3698, allocations: 8 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3698, allocations: 0 / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3698, allocations: 3.938 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3699, allocations: 23.98 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.37, allocations: 0 / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.37, allocations: 15.98 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.37, allocations: 7.984 kB / 0.564 GB, free: 0.9766 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 (14): * Single equations (assignments): 14 * 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.0001775/0.3702, allocations: 140.9 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.3702, allocations: 11.91 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3707, allocations: 167 kB / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3707, allocations: 11.92 kB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3707, allocations: 4 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3707, allocations: 0 / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.3715, allocations: 471 kB / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3715, allocations: 0 / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.3715, allocations: 19.98 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3715, allocations: 4 kB / 0.5648 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3716, allocations: 0 / 0.5648 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3716, allocations: 4 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3716, allocations: 3.984 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.372, allocations: 272.4 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.372, allocations: 11.91 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3721, allocations: 7.984 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.3721, allocations: 12.03 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.3722, allocations: 7.984 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.3722, allocations: 4 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.3725, allocations: 213.4 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.3728, allocations: 31.94 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002649/0.3754, allocations: 1.246 MB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3757, allocations: 103.8 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3757, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3758, allocations: 43.92 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3762, allocations: 43.25 kB / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.3789, allocations: 1.974 MB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.379, allocations: 118.7 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.3791, allocations: 25.06 kB / 0.5688 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3792, allocations: 55.41 kB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3792, allocations: 0 / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.4046, allocations: 4.628 MB / 0.5733 GB, free: 7.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 18.31 kB / 0.5734 GB, free: 7.469 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.971050870954059] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 12.051975770969875 12.069002659 11.701364263 Calling exit ...