Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001663/0.001663, 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.002267/0.002267, allocations: 212.6 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2367/0.2367, allocations: 44.94 MB / 359.6 MB, free: 6.117 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001965/0.001965, allocations: 63.89 kB / 0.4939 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 65.47 MB / 0.5578 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004612/0.3605, allocations: 1.67 MB / 0.5594 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3626, allocations: 0.9443 MB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.3627, allocations: 3.938 kB / 0.5603 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.3631, allocations: 63.73 kB / 0.5604 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.3634, allocations: 111.5 kB / 0.5605 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3637, allocations: 79.72 kB / 0.5606 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3639, allocations: 103.7 kB / 0.5607 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.3639, allocations: 4.234 kB / 0.5607 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.364, allocations: 51.77 kB / 0.5607 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3641, allocations: 47.78 kB / 0.5608 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3641, allocations: 4 kB / 0.5608 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.3642, allocations: 35.97 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.3643, allocations: 23.86 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.3644, allocations: 23.81 kB / 0.5609 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3646, allocations: 109.4 kB / 0.561 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3646, allocations: 4 kB / 0.561 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3646, allocations: 0 / 0.561 GB, free: 4.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3646, allocations: 0 / 0.561 GB, free: 4.301 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005819/0.3652, allocations: 333.6 kB / 0.5613 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3652, allocations: 12.03 kB / 0.5613 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.462e-05/0.3652, allocations: 8.188 kB / 0.5613 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.3652, allocations: 30.75 kB / 0.5613 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.3653, allocations: 12.84 kB / 0.5614 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.3656, allocations: 151 kB / 0.5615 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3656, allocations: 4.125 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3656, allocations: 8 kB / 0.5615 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3658, allocations: 49.66 kB / 0.5616 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3658, allocations: 0 / 0.5616 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3658, allocations: 0 / 0.5616 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3658, allocations: 4 kB / 0.5616 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.3659, allocations: 19.98 kB / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.3661, allocations: 156.7 kB / 0.5617 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3663, allocations: 54.5 kB / 0.5618 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.3664, allocations: 20.84 kB / 0.5618 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3664, allocations: 0 / 0.5618 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3666, allocations: 63.39 kB / 0.5619 GB, free: 3.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3666, allocations: 3.938 kB / 0.5619 GB, free: 3.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003288/0.3669, allocations: 109.7 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.367, allocations: 51.41 kB / 0.562 GB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3672, allocations: 198.3 kB / 0.5622 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3673, allocations: 25.7 kB / 0.5622 GB, free: 2.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.3673, allocations: 104.1 kB / 0.5623 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3674, allocations: 19.78 kB / 0.5623 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.3674, allocations: 17.72 kB / 0.5624 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3676, allocations: 326.8 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.3677, allocations: 20.05 kB / 0.5627 GB, free: 2.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.3678, allocations: 29.7 kB / 0.5627 GB, free: 2.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3679, allocations: 57.58 kB / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3679, allocations: 0 / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001705/0.368, allocations: 85.59 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3681, allocations: 4 kB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3681, allocations: 0 / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3681, allocations: 0 / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.3682, allocations: 19.92 kB / 0.5629 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3682, allocations: 160 / 0.5629 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.3682, allocations: 4 kB / 0.5629 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3682, allocations: 4.031 kB / 0.5629 GB, free: 2.129 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 (7): * Single equations (assignments): 7 * 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.0001103/0.3683, allocations: 125.8 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.3683, allocations: 11.95 kB / 0.563 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.3686, allocations: 98.75 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3686, allocations: 3.938 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3686, allocations: 0 / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3686, allocations: 3.984 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3688, allocations: 160.6 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3688, allocations: 0 / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3688, allocations: 8 kB / 0.5633 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3688, allocations: 4 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3688, allocations: 0 / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3688, allocations: 128 / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.3688, allocations: 7.984 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.369, allocations: 121 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.369, allocations: 15.91 kB / 0.5634 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3691, allocations: 3.938 kB / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.3691, allocations: 0 / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3691, allocations: 7.984 kB / 0.5634 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.3692, allocations: 4 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3693, allocations: 156.2 kB / 0.5636 GB, free: 1.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3693, allocations: 0 / 0.5636 GB, free: 1.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.3695, allocations: 23.94 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00212/0.3716, allocations: 0.9838 MB / 0.5646 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.3718, allocations: 43.91 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3718, allocations: 0 / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.3719, allocations: 19.98 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.3722, allocations: 28.05 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3741, allocations: 1.52 MB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.3742, allocations: 97.25 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.3742, allocations: 16.42 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.3743, allocations: 31.42 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3743, allocations: 0 / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3978, allocations: 3.511 MB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.84, allocations: 7.031 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.966096802032553] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.073362778988667 12.10272478 11.732911376 Calling exit ...