Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001352/0.001352, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001466/0.001466, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 46.93 MB / 361.7 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test52,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 71.83 kB / 0.497 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3617, allocations: 66.03 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003434/0.3651, allocations: 1.753 MB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3669, allocations: 1.038 MB / 0.5642 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.367, allocations: 3.938 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.3673, allocations: 51.81 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.3676, allocations: 107.4 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3678, allocations: 79.67 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.368, allocations: 99.75 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3681, allocations: 13.95 kB / 0.5645 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3682, allocations: 47.73 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.3683, allocations: 43.77 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3683, allocations: 4 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.3684, allocations: 39.98 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.3685, allocations: 19.92 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.3685, allocations: 39.67 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3688, allocations: 135.4 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3688, allocations: 0 / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3688, allocations: 0 / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.3688, allocations: 0 / 0.5649 GB, free: 0.8438 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.0005364/0.3693, allocations: 365.3 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3694, allocations: 12.03 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.128e-05/0.3694, allocations: 192 / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.3694, allocations: 34.75 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3694, allocations: 12.89 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3697, allocations: 155.1 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3697, allocations: 12.12 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3698, allocations: 0 / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3699, allocations: 61.61 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3699, allocations: 3.938 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3699, allocations: 0 / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.37, allocations: 4 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/0.37, allocations: 15.98 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.3704, allocations: 267.9 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3706, allocations: 54.67 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.3707, allocations: 24.78 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3707, allocations: 0 / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.3709, allocations: 67.39 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3709, allocations: 0 / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006031/0.3715, allocations: 173.3 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3715, allocations: 67.39 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.3718, allocations: 238.9 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3718, allocations: 29.7 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.3719, allocations: 112.1 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.372, allocations: 27.78 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.372, allocations: 21.7 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3722, allocations: 326.8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.3723, allocations: 23.98 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.3723, allocations: 42.03 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3725, allocations: 61.7 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3725, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002077/0.3727, allocations: 113.5 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3727, allocations: 6.656 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3727, allocations: 0 / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3727, allocations: 8.031 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.3728, allocations: 12 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3728, allocations: 3.938 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.3729, allocations: 7.984 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3729, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.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.0001277/0.373, allocations: 129.8 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.373, allocations: 19.89 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.3733, allocations: 123 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3733, allocations: 4 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3733, allocations: 3.938 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3733, allocations: 3.938 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.3738, allocations: 362.4 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3738, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3739, allocations: 11.98 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3739, allocations: 3.938 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3739, allocations: 4 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3739, allocations: 4 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3739, allocations: 4.031 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.3742, allocations: 204.2 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.3742, allocations: 15.84 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3743, allocations: 11.98 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.3743, allocations: 0 / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3744, allocations: 7.984 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3744, allocations: 8 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3746, allocations: 171.2 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3746, allocations: 0 / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3748, allocations: 27.92 kB / 0.5682 GB, free: 13.12 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.002371/0.3772, allocations: 1.096 MB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.3774, allocations: 63.89 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3774, allocations: 4 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.3775, allocations: 24.05 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3779, allocations: 35.73 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3802, allocations: 1.747 MB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3806, allocations: 0.7119 MB / 0.5718 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.3806, allocations: 21.27 kB / 0.5718 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.3807, allocations: 39.42 kB / 0.5718 GB, free: 9.426 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3807, allocations: 0 / 0.5718 GB, free: 9.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.4036, allocations: 3.831 MB / 0.5756 GB, free: 5.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 11.44 kB / 0.5756 GB, free: 5.672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.59433985396754] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.760454180010129 11.779102556 11.405626704 Calling exit ...