Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001902/0.001902, 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.002426/0.002426, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2279/0.2279, allocations: 44.93 MB / 359.6 MB, free: 6.074 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.002978/0.002978, allocations: 63.91 kB / 0.4938 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.4005, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003235/0.4037, allocations: 1.779 MB / 0.5595 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4056, allocations: 1.042 MB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.4057, allocations: 7.938 kB / 0.5605 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.4062, allocations: 303.3 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.4067, allocations: 267.2 kB / 0.5611 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.4069, allocations: 107.7 kB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.4073, allocations: 267.2 kB / 0.5614 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.4073, allocations: 5.812 kB / 0.5615 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.4075, allocations: 139.5 kB / 0.5616 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.4078, allocations: 215.4 kB / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.4078, allocations: 8 kB / 0.5618 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.4079, allocations: 47.92 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.4081, allocations: 143.6 kB / 0.562 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4082, allocations: 107.1 kB / 0.5621 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.4086, allocations: 392 kB / 0.5625 GB, free: 2.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4087, allocations: 4 kB / 0.5625 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4087, allocations: 0 / 0.5625 GB, free: 2.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4087, allocations: 3.938 kB / 0.5625 GB, free: 2.707 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.0009895/0.4096, allocations: 0.6825 MB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4097, allocations: 12.03 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.328e-05/0.4097, allocations: 192 / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.4097, allocations: 34.75 kB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.4098, allocations: 52.61 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.4104, allocations: 398.5 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4104, allocations: 12.11 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4105, allocations: 4 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.4107, allocations: 91.36 kB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4107, allocations: 0 / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4107, allocations: 0 / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4107, allocations: 4 kB / 0.5637 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.4109, allocations: 35.91 kB / 0.5637 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.4113, allocations: 333.4 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.4116, allocations: 109.2 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.4117, allocations: 37.7 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.4117, allocations: 3.938 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.4119, allocations: 113 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4119, allocations: 0 / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000514/0.4124, allocations: 213.2 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4125, allocations: 85.05 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.4137, allocations: 1.058 MB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4137, allocations: 29.7 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4139, allocations: 240.1 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.414, allocations: 27.72 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.414, allocations: 33.7 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4142, allocations: 370.7 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.4143, allocations: 31.98 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4144, allocations: 63.41 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.4146, allocations: 99.28 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4146, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003203/0.415, allocations: 177.8 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.415, allocations: 10.48 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.415, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.415, allocations: 4 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4151, allocations: 19.94 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4151, allocations: 11.97 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4152, allocations: 16 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4152, allocations: 4 kB / 0.5667 GB, free: 14.09 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.000238/0.4155, allocations: 229.7 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.4155, allocations: 55.62 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.416, allocations: 201.8 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.416, allocations: 0 / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.416, allocations: 0 / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.416, allocations: 7.984 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.4163, allocations: 292.5 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4163, allocations: 4 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.4164, allocations: 11.94 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4164, allocations: 0 / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.4164, allocations: 4 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4164, allocations: 0 / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4164, allocations: 0 / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.4167, allocations: 233.4 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4169, allocations: 67.59 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.4169, allocations: 4.188 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.417, allocations: 11.98 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.417, allocations: 11.98 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4171, allocations: 7.938 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008731/0.4179, allocations: 0.7956 MB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4179, allocations: 0 / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.4182, allocations: 43.98 kB / 0.5686 GB, free: 12.05 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.002211/0.4204, allocations: 1.091 MB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.4207, allocations: 87.95 kB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4207, allocations: 0 / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4208, allocations: 40.3 kB / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4212, allocations: 79.89 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.427, allocations: 4.594 MB / 0.5744 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4273, allocations: 241.8 kB / 0.5746 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.4274, allocations: 62.92 kB / 0.5747 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.4277, allocations: 151.4 kB / 0.5748 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4277, allocations: 0 / 0.5748 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4588, allocations: 9.671 MB / 0.5843 GB, free: 12.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.5, allocations: 6.875 kB / 0.5843 GB, free: 12.18 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.725496599916369] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.76123160298448 12.784721509 12.371461862 Calling exit ...