Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.00176/0.00176, 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.002173/0.002173, allocations: 201.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.492/1.492, 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.293/0.293, allocations: 44.92 MB / 359.6 MB, free: 6.309 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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001927/0.001927, allocations: 75.88 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4408, allocations: 65.47 MB / 0.5579 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003815/0.4447, allocations: 1.738 MB / 0.5596 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.4477, allocations: 1.731 MB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.4478, allocations: 7.938 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.4481, allocations: 39.7 kB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.4485, allocations: 99.53 kB / 0.5614 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.4487, allocations: 75.73 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.4489, allocations: 111.6 kB / 0.5616 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.449, allocations: 13.81 kB / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4491, allocations: 51.78 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.4493, allocations: 43.83 kB / 0.5617 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.4493, allocations: 8 kB / 0.5617 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.4495, allocations: 103.9 kB / 0.5618 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.4496, allocations: 23.92 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.4496, allocations: 39.72 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.45, allocations: 179.3 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.45, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.45, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.45, allocations: 0 / 0.562 GB, free: 3.512 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.0006083/0.4506, allocations: 349.5 kB / 0.5623 GB, free: 3.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4506, allocations: 8.031 kB / 0.5624 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.088e-05/0.4506, allocations: 4.125 kB / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.4507, allocations: 34.75 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.4507, allocations: 12.84 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.451, allocations: 156 kB / 0.5626 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.451, allocations: 7.984 kB / 0.5626 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.4511, allocations: 7.938 kB / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.4512, allocations: 67.39 kB / 0.5626 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4512, allocations: 0 / 0.5626 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4513, allocations: 4 kB / 0.5626 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.4513, allocations: 0 / 0.5626 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.4513, allocations: 15.98 kB / 0.5627 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.4518, allocations: 271.9 kB / 0.5629 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4519, allocations: 54.62 kB / 0.563 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.452, allocations: 20.84 kB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.452, allocations: 0 / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.4522, allocations: 67.39 kB / 0.563 GB, free: 2.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4522, allocations: 0 / 0.563 GB, free: 2.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005925/0.4528, allocations: 173.3 kB / 0.5632 GB, free: 2.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.4528, allocations: 85.11 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.453, allocations: 161.9 kB / 0.5635 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.453, allocations: 29.7 kB / 0.5635 GB, free: 1.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.4531, allocations: 100.1 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4532, allocations: 27.75 kB / 0.5636 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.4532, allocations: 29.64 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4534, allocations: 318.8 kB / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.4534, allocations: 27.94 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.4535, allocations: 42.56 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4536, allocations: 65.75 kB / 0.5641 GB, free: 1.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4536, allocations: 0 / 0.5641 GB, free: 1.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.4538, allocations: 93.95 kB / 0.5642 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4538, allocations: 11.98 kB / 0.5642 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4538, allocations: 4.062 kB / 0.5642 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4538, allocations: 3.938 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.4539, allocations: 20 kB / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4539, allocations: 7.875 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.454, allocations: 7.984 kB / 0.5642 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.454, allocations: 4 kB / 0.5642 GB, free: 1.043 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.0001067/0.4541, allocations: 120.8 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.4541, allocations: 7.953 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.4544, allocations: 114.4 kB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4544, allocations: 3.938 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4544, allocations: 0 / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4544, allocations: 3.938 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.4549, allocations: 370.3 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4549, allocations: 0 / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.4549, allocations: 11.94 kB / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4549, allocations: 0 / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.455, allocations: 7.984 kB / 0.5648 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.455, allocations: 8.031 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.455, allocations: 0 / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.4552, allocations: 200.3 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.4552, allocations: 11.95 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4553, allocations: 0 / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.4553, allocations: 7.984 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.4554, allocations: 11.94 kB / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4554, allocations: 7.984 kB / 0.5651 GB, free: 88 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.4555, allocations: 123.2 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4555, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.4559, allocations: 47.86 kB / 0.5652 GB, free: 15.92 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.002424/0.4583, allocations: 1.187 MB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4585, allocations: 63.91 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4585, allocations: 4 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.4586, allocations: 27.98 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.4589, allocations: 46.42 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.001937/0.4609, allocations: 1.589 MB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.4612, allocations: 0.704 MB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.4613, allocations: 16.97 kB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.4614, allocations: 35.42 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4614, allocations: 0 / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.4887, allocations: 4.229 MB / 0.5729 GB, free: 8.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.7, allocations: 11.98 kB / 0.5729 GB, free: 8.129 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.962016058969311] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.916643303004093 11.931314459 11.478296603 Calling exit ...