Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001288/0.001288, 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.001579/0.001579, allocations: 211.9 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2343/0.2343, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002055/0.002055, allocations: 61.31 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3912, allocations: 65.47 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003742/0.3949, allocations: 1.785 MB / 0.5595 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3969, allocations: 1.034 MB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.397, allocations: 4 kB / 0.5605 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.3976, allocations: 299.3 kB / 0.5608 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.3981, allocations: 263.2 kB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3983, allocations: 107.6 kB / 0.5612 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3986, allocations: 267.2 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.3987, allocations: 9.797 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.3989, allocations: 127.6 kB / 0.5616 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3992, allocations: 219.8 kB / 0.5618 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3992, allocations: 8 kB / 0.5618 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3993, allocations: 51.92 kB / 0.5618 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3995, allocations: 136.5 kB / 0.562 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.3996, allocations: 107.1 kB / 0.5621 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.4001, allocations: 384 kB / 0.5624 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4001, allocations: 3.984 kB / 0.5624 GB, free: 2.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4001, allocations: 0 / 0.5624 GB, free: 2.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4001, allocations: 0 / 0.5624 GB, free: 2.746 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001074/0.4012, allocations: 0.6728 MB / 0.5631 GB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4012, allocations: 8.031 kB / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.4012, allocations: 192 / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.4013, allocations: 46.67 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.4014, allocations: 48.61 kB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.402, allocations: 386.6 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.402, allocations: 8.125 kB / 0.5636 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.402, allocations: 4 kB / 0.5636 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.4023, allocations: 91.36 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4023, allocations: 0 / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4023, allocations: 0 / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4023, allocations: 0 / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.4024, allocations: 39.91 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.4029, allocations: 329.5 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.4031, allocations: 113.1 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4032, allocations: 37.69 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.4033, allocations: 7.938 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.4035, allocations: 105 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4035, allocations: 0 / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005235/0.404, allocations: 213.2 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.4041, allocations: 85.11 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4054, allocations: 1.03 MB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4054, allocations: 29.7 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.4056, allocations: 232.1 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.4057, allocations: 27.84 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.4058, allocations: 25.72 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.406, allocations: 366.8 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.4061, allocations: 31.97 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4062, allocations: 67.41 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.4064, allocations: 103.2 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4064, allocations: 0 / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003468/0.4067, allocations: 181.8 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.4068, allocations: 8 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4068, allocations: 0 / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4068, allocations: 0 / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4069, allocations: 27.92 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4069, allocations: 64 / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.407, allocations: 15.89 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.407, allocations: 8 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002402/0.4073, allocations: 225.6 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.4073, allocations: 51.67 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.4078, allocations: 197.8 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4078, allocations: 3.938 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4078, allocations: 3.984 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4078, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.4081, allocations: 300.5 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4081, allocations: 0 / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.4082, allocations: 8 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4082, allocations: 4 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4082, allocations: 0 / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4082, allocations: 4 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4082, allocations: 0 / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.4086, allocations: 233.3 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4087, allocations: 67.59 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.4087, allocations: 4 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4088, allocations: 12.17 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.4089, allocations: 11.98 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.4089, allocations: 4 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009009/0.4098, allocations: 0.7721 MB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4098, allocations: 0 / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.4101, allocations: 44 kB / 0.5685 GB, free: 12.19 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002269/0.4124, allocations: 1.096 MB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4126, allocations: 87.89 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4126, allocations: 3.938 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4128, allocations: 44.17 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4132, allocations: 80.05 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/0.4196, allocations: 4.491 MB / 0.5742 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.4199, allocations: 237.8 kB / 0.5744 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.4201, allocations: 54.94 kB / 0.5744 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.4203, allocations: 151.4 kB / 0.5746 GB, free: 5.992 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4203, allocations: 0 / 0.5746 GB, free: 5.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.4525, allocations: 9.5 MB / 0.5839 GB, free: 12.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.56, allocations: 10.97 kB / 0.5839 GB, free: 12.6 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.657954105990939] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.782724849996157 12.810048628 12.404773782 Calling exit ...