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.001376/0.001376, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001855/0.001855, allocations: 217.3 kB / 24.52 MB, free: 3.91 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2299/0.2299, allocations: 44.94 MB / 359.6 MB, free: 6.059 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.002128/0.002128, allocations: 63.91 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003351/0.3587, allocations: 1.704 MB / 0.5595 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3606, allocations: 0.9637 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3607, allocations: 3.938 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.3611, allocations: 51.77 kB / 0.5605 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.3615, allocations: 95.59 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3617, allocations: 83.66 kB / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3619, allocations: 99.7 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3621, allocations: 9.812 kB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.3621, allocations: 47.78 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.3622, allocations: 35.78 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3623, allocations: 4 kB / 0.5608 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3624, allocations: 36 kB / 0.5608 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.3624, allocations: 35.83 kB / 0.5609 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.3625, allocations: 23.81 kB / 0.5609 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3628, allocations: 127.5 kB / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3628, allocations: 0 / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3628, allocations: 0 / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3628, allocations: 0 / 0.561 GB, free: 4.195 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.0005256/0.3633, allocations: 357.4 kB / 0.5614 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3633, allocations: 8.031 kB / 0.5614 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.318e-05/0.3633, allocations: 4.188 kB / 0.5614 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.3634, allocations: 34.73 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3634, allocations: 8.891 kB / 0.5614 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3637, allocations: 162.3 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3637, allocations: 12.12 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3637, allocations: 0 / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3639, allocations: 53.67 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3639, allocations: 4 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3639, allocations: 0 / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3639, allocations: 0 / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.364, allocations: 27.92 kB / 0.5617 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3643, allocations: 259.9 kB / 0.5619 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3645, allocations: 54.69 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.3646, allocations: 24.83 kB / 0.562 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3646, allocations: 3.938 kB / 0.562 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.3648, allocations: 67.39 kB / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3648, allocations: 0 / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006309/0.3654, allocations: 193.2 kB / 0.5622 GB, free: 2.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3655, allocations: 63.39 kB / 0.5623 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3657, allocations: 226.6 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.3657, allocations: 29.7 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.3658, allocations: 104.1 kB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.3658, allocations: 23.84 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.3659, allocations: 21.72 kB / 0.5627 GB, free: 2.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.366, allocations: 326.8 kB / 0.563 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.3661, allocations: 19.98 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.3662, allocations: 37.7 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3663, allocations: 65.64 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3663, allocations: 0 / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.3665, allocations: 113.5 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3665, allocations: 10.44 kB / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3665, allocations: 0 / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3665, allocations: 0 / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.3666, allocations: 16 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3666, allocations: 3.938 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.3667, allocations: 7.922 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3667, allocations: 4.375 kB / 0.5633 GB, free: 1.688 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.0001069/0.3668, allocations: 125.8 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3668, allocations: 11.94 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3671, allocations: 131 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3671, allocations: 0 / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3671, allocations: 7.938 kB / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3671, allocations: 0 / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.3676, allocations: 370.4 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3676, allocations: 0 / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3676, allocations: 15.94 kB / 0.5639 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3677, allocations: 3.938 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3677, allocations: 3.984 kB / 0.5639 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3677, allocations: 4.031 kB / 0.5639 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3677, allocations: 4.281 kB / 0.5639 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3679, allocations: 220.2 kB / 0.5641 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.3679, allocations: 11.89 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.368, allocations: 0 / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.3681, allocations: 11.98 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3681, allocations: 3.984 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3681, allocations: 4 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3683, allocations: 160.3 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3683, allocations: 0 / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3685, allocations: 28 kB / 0.5643 GB, free: 0.5 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 (9): * Single equations (assignments): 7 * 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.002342/0.3709, allocations: 1.138 MB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3711, allocations: 63.89 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3711, allocations: 4 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.3711, allocations: 31.92 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3715, allocations: 29.97 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3735, allocations: 1.698 MB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.3736, allocations: 96.73 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.3736, allocations: 20.58 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.3737, allocations: 39.42 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3737, allocations: 0 / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.3964, allocations: 3.872 MB / 0.5712 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 10.81 kB / 0.5712 GB, free: 9.66 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.953735380084254] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.035876377951354 12.065057773 11.696802971 Calling exit ...