Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001313/0.001313, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001478/0.001478, allocations: 215.3 kB / 23.48 MB, free: 5.23 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.468/1.468, allocations: 230.2 MB / 256.8 MB, free: 8.566 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.2388/0.2388, allocations: 46.88 MB / 360 MB, free: 4.738 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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",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.002269/0.002269, allocations: 79.86 kB / 0.4952 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3682, allocations: 65.99 MB / 0.5596 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003519/0.3717, allocations: 1.693 MB / 0.5613 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3735, allocations: 1.029 MB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.3736, allocations: 4 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.3739, allocations: 83.7 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.3743, allocations: 111.6 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3745, allocations: 83.66 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3747, allocations: 103.7 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.3747, allocations: 8.234 kB / 0.5626 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3748, allocations: 51.75 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.375, allocations: 63.75 kB / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.375, allocations: 4 kB / 0.5628 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.3751, allocations: 35.92 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.3752, allocations: 19.92 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.3752, allocations: 31.75 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.3755, allocations: 113.3 kB / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3755, allocations: 0 / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3755, allocations: 7.938 kB / 0.563 GB, free: 1.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3755, allocations: 0 / 0.563 GB, free: 1.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006084/0.3761, allocations: 426.6 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3761, allocations: 8.031 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.3762, allocations: 42.69 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3762, allocations: 12.84 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3765, allocations: 216.1 kB / 0.5636 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3766, allocations: 4.359 kB / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3766, allocations: 8.375 kB / 0.5636 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3767, allocations: 53.8 kB / 0.5637 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3767, allocations: 0 / 0.5637 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3768, allocations: 0 / 0.5637 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3768, allocations: 4 kB / 0.5637 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.3768, allocations: 15.92 kB / 0.5637 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.3771, allocations: 181.7 kB / 0.5639 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.3772, allocations: 54.61 kB / 0.5639 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.3773, allocations: 16.86 kB / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3773, allocations: 0 / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.3775, allocations: 67.33 kB / 0.564 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3775, allocations: 0 / 0.564 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002872/0.3778, allocations: 105.5 kB / 0.5641 GB, free: 152 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3778, allocations: 55.41 kB / 0.5642 GB, free: 84 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.378, allocations: 220.3 kB / 0.5644 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3781, allocations: 29.69 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3781, allocations: 100.1 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3782, allocations: 15.94 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3782, allocations: 17.72 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3783, allocations: 322.8 kB / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3784, allocations: 19.97 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.3785, allocations: 33.66 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3786, allocations: 45.64 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3786, allocations: 0 / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001842/0.3788, allocations: 93.78 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3788, allocations: 4 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3788, allocations: 0 / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3788, allocations: 8.016 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.3789, allocations: 16 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3789, allocations: 0 / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.3789, allocations: 3.938 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3789, allocations: 4 kB / 0.5651 GB, free: 15.11 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 (7): * Single equations (assignments): 7 * 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.0001091/0.379, allocations: 125.8 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3791, allocations: 15.84 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3793, allocations: 94.55 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3793, allocations: 7.984 kB / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3793, allocations: 4 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3793, allocations: 0 / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3795, allocations: 185.6 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3795, allocations: 3.938 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.3795, allocations: 7.984 kB / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3795, allocations: 0 / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3795, allocations: 0 / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3795, allocations: 4 kB / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3795, allocations: 0 / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3797, allocations: 117 kB / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.3798, allocations: 92.95 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3798, allocations: 3.984 kB / 0.5657 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.3798, allocations: 4 kB / 0.5657 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3799, allocations: 3.984 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3799, allocations: 4 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.38, allocations: 165.2 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.38, allocations: 0 / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.3802, allocations: 27.92 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001834/0.3821, allocations: 0.9424 MB / 0.5668 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3822, allocations: 35.92 kB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3822, allocations: 4 kB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.3823, allocations: 16.06 kB / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3826, allocations: 41.31 kB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3844, allocations: 1.584 MB / 0.5684 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3848, allocations: 0.7118 MB / 0.5691 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.3848, allocations: 16.55 kB / 0.5692 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.3849, allocations: 35.42 kB / 0.5692 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3849, allocations: 0 / 0.5692 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.4104, allocations: 3.272 MB / 0.5724 GB, free: 7.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.442, allocations: 3.578 kB / 0.5724 GB, free: 7.523 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.471027835039422] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.566280725994147 8.596443532 8.215445597 Calling exit ...