Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001258/0.001258, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.001567/0.001567, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.2444/0.2444, allocations: 44.93 MB / 359.6 MB, free: 6.078 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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.002383/0.002383, allocations: 81.55 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.397, allocations: 65.46 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003666/0.4006, allocations: 1.71 MB / 0.5595 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4025, allocations: 0.9637 MB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.4026, allocations: 0 / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.403, allocations: 83.7 kB / 0.5605 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.4034, allocations: 119.5 kB / 0.5606 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.4036, allocations: 87.66 kB / 0.5607 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4038, allocations: 115.7 kB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4039, allocations: 13.81 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.404, allocations: 47.78 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.4041, allocations: 71.69 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.4041, allocations: 4 kB / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4042, allocations: 47.97 kB / 0.561 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.4043, allocations: 23.91 kB / 0.561 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.4043, allocations: 27.75 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.4046, allocations: 127.4 kB / 0.5611 GB, free: 4.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4046, allocations: 4 kB / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4046, allocations: 0 / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4046, allocations: 0 / 0.5611 GB, free: 4.086 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.000577/0.4052, allocations: 357.4 kB / 0.5615 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4052, allocations: 12.03 kB / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.326e-05/0.4052, allocations: 192 / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.4053, allocations: 30.75 kB / 0.5615 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.4053, allocations: 16.84 kB / 0.5615 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.4056, allocations: 158.8 kB / 0.5617 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4056, allocations: 4.125 kB / 0.5617 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4057, allocations: 8 kB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.4058, allocations: 57.61 kB / 0.5618 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4059, allocations: 0 / 0.5618 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4059, allocations: 3.984 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4059, allocations: 0 / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.406, allocations: 23.98 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.4064, allocations: 263.9 kB / 0.562 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.4066, allocations: 62.61 kB / 0.5621 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.4067, allocations: 16.86 kB / 0.5621 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.4067, allocations: 7.984 kB / 0.5621 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.4069, allocations: 67.39 kB / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4069, allocations: 0 / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007185/0.4076, allocations: 181.3 kB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4076, allocations: 55.41 kB / 0.5624 GB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4079, allocations: 231.4 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.4079, allocations: 29.7 kB / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.408, allocations: 108.1 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.408, allocations: 23.8 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.4081, allocations: 29.7 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4083, allocations: 322.8 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.4083, allocations: 23.98 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.4084, allocations: 45.58 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.4086, allocations: 58.08 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4086, allocations: 0 / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.4088, allocations: 109.5 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4088, allocations: 8 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4088, allocations: 11.97 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.4088, allocations: 0 / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4089, allocations: 15.98 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.4089, allocations: 7.938 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.409, allocations: 0 / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.409, allocations: 4 kB / 0.5634 GB, free: 1.562 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.000136/0.4091, allocations: 141.7 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.4092, allocations: 11.91 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.4094, allocations: 127 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4094, allocations: 0 / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4094, allocations: 7.938 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4094, allocations: 0 / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.41, allocations: 378.6 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.41, allocations: 0 / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.41, allocations: 8 kB / 0.564 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.41, allocations: 3.938 kB / 0.564 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.41, allocations: 7.984 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.41, allocations: 0 / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.41, allocations: 0 / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.4103, allocations: 220.3 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.4103, allocations: 15.84 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.4104, allocations: 4.375 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.4104, allocations: 7.984 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.4105, allocations: 4 kB / 0.5643 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.4105, allocations: 7.984 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4106, allocations: 173.1 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4106, allocations: 0 / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.4109, allocations: 31.92 kB / 0.5645 GB, free: 352 kB / 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.002311/0.4132, allocations: 1.131 MB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4134, allocations: 67.91 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4134, allocations: 0 / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.4135, allocations: 28.05 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4139, allocations: 46.88 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.416, allocations: 1.72 MB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.4162, allocations: 104.5 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.4162, allocations: 17.28 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.4163, allocations: 39.41 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4163, allocations: 0 / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.4408, allocations: 3.916 MB / 0.5714 GB, free: 9.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.76, allocations: 16.88 kB / 0.5714 GB, free: 9.426 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.889167929068208] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.98149665701203 11.997869522 11.589992437 Calling exit ...