Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2233/0.2233, allocations: 46.93 MB / 361.6 MB, free: 4.215 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3535, allocations: 66.07 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003311/0.3568, allocations: 1.846 MB / 0.5634 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3587, allocations: 1.119 MB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.3588, allocations: 3.938 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.3593, allocations: 315.3 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.3597, allocations: 255.2 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.36, allocations: 107.6 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.3603, allocations: 267.2 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.3603, allocations: 9.797 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3605, allocations: 135.5 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3608, allocations: 227.4 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3608, allocations: 4 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3609, allocations: 47.98 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.3611, allocations: 151.5 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3612, allocations: 146.8 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3616, allocations: 372.2 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3616, allocations: 4 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3616, allocations: 0 / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3616, allocations: 0 / 0.5664 GB, free: 15.32 MB / 414.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.0009878/0.3626, allocations: 0.6863 MB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3627, allocations: 8.031 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.3627, allocations: 38.75 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.3628, allocations: 52.61 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.3634, allocations: 402.5 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3634, allocations: 384 / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3635, allocations: 4.375 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3637, allocations: 95.42 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3637, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3637, allocations: 4 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3637, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3638, allocations: 35.97 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.3643, allocations: 349.4 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.3646, allocations: 105.2 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.306e-05/0.3647, allocations: 41.7 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3647, allocations: 3.984 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.3649, allocations: 112.9 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3649, allocations: 3.938 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000498/0.3654, allocations: 201.2 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.3655, allocations: 81.11 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3668, allocations: 1.054 MB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3668, allocations: 33.7 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.367, allocations: 232.1 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.3671, allocations: 31.8 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.3671, allocations: 25.72 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3673, allocations: 370.8 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.3674, allocations: 35.97 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.3675, allocations: 55.42 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.3677, allocations: 99.84 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3677, allocations: 0 / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003033/0.368, allocations: 173.1 kB / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.368, allocations: 8 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.368, allocations: 0 / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.368, allocations: 4 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3681, allocations: 19.98 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3681, allocations: 0 / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.3682, allocations: 19.98 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3683, allocations: 4 kB / 0.5706 GB, free: 10.72 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.0002277/0.3685, allocations: 223.5 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3686, allocations: 59.56 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.3689, allocations: 193.8 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.369, allocations: 7.984 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.369, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.369, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.3693, allocations: 324.5 kB / 0.5714 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3693, allocations: 3.938 kB / 0.5714 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.3693, allocations: 12 kB / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3693, allocations: 0 / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3694, allocations: 4.234 kB / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3694, allocations: 8 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3694, allocations: 0 / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.3698, allocations: 221.4 kB / 0.5716 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3699, allocations: 71.53 kB / 0.5717 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3699, allocations: 7.938 kB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.37, allocations: 7.984 kB / 0.5717 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.37, allocations: 7.984 kB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3701, allocations: 8 kB / 0.5717 GB, free: 9.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009571/0.371, allocations: 0.7839 MB / 0.5725 GB, free: 8.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.371, allocations: 0 / 0.5725 GB, free: 8.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3713, allocations: 43.98 kB / 0.5726 GB, free: 8.68 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.002159/0.3735, allocations: 1.059 MB / 0.5736 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.3737, allocations: 83.95 kB / 0.5737 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3737, allocations: 0 / 0.5737 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3739, allocations: 39.92 kB / 0.5737 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3743, allocations: 80.89 kB / 0.5738 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/0.3801, allocations: 4.567 MB / 0.5782 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.3807, allocations: 0.8507 MB / 0.5791 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.3809, allocations: 58.94 kB / 0.5791 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.3811, allocations: 155.4 kB / 0.5793 GB, free: 1.773 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3811, allocations: 0 / 0.5793 GB, free: 1.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.417, allocations: 9.292 MB / 0.5883 GB, free: 8.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.813/9.23, allocations: 0 / 0.5883 GB, free: 8.492 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.165460382122546] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.400869060307741 9.428974873 9.062310539 Calling exit ...