Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001268/0.001268, allocations: 106.5 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.002361/0.002361, allocations: 213.2 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2281/0.2281, allocations: 46.93 MB / 361.6 MB, free: 4.227 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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",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.00239/0.00239, allocations: 79.88 kB / 0.4971 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3585, allocations: 66.08 MB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004079/0.3626, allocations: 2.294 MB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.3662, allocations: 1.348 MB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3663, allocations: 11.88 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.3669, allocations: 143.3 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.3677, allocations: 258.9 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.3683, allocations: 187.6 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.3691, allocations: 474.5 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.3693, allocations: 55.19 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.3699, allocations: 346.9 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.3703, allocations: 171.1 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.3703, allocations: 20 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3706, allocations: 75.97 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.3708, allocations: 159.3 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3711, allocations: 202.3 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008115/0.3719, allocations: 485.4 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3719, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3719, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3719, allocations: 0 / 0.5676 GB, free: 14.09 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001686/0.3736, allocations: 0.8496 MB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3736, allocations: 8.031 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.3737, allocations: 42.73 kB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.3738, allocations: 76.47 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008781/0.3747, allocations: 381.6 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3748, allocations: 8.375 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.3748, allocations: 24.31 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.3754, allocations: 201.1 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3754, allocations: 3.938 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3754, allocations: 7.984 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3755, allocations: 4 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.3758, allocations: 95.88 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.3773, allocations: 0.793 MB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3783, allocations: 230.5 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3786, allocations: 83.52 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3786, allocations: 11.88 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/0.379, allocations: 200.3 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.379, allocations: 3.938 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002628/0.3816, allocations: 1.195 MB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.3817, allocations: 132.5 kB / 0.5718 GB, free: 9.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3828, allocations: 0.9614 MB / 0.5728 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.3828, allocations: 37.7 kB / 0.5728 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.3831, allocations: 273 kB / 0.5731 GB, free: 8.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3832, allocations: 150.8 kB / 0.5732 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3833, allocations: 82.08 kB / 0.5733 GB, free: 7.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3835, allocations: 325.9 kB / 0.5736 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3837, allocations: 112.8 kB / 0.5737 GB, free: 7.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.384, allocations: 183.2 kB / 0.5739 GB, free: 7.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.3846, allocations: 319.1 kB / 0.5742 GB, free: 7.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3846, allocations: 0 / 0.5742 GB, free: 7.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007539/0.3853, allocations: 448.8 kB / 0.5746 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3853, allocations: 7.938 kB / 0.5746 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3854, allocations: 4 kB / 0.5746 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.3854, allocations: 4 kB / 0.5746 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3857, allocations: 88.02 kB / 0.5747 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3857, allocations: 11.94 kB / 0.5747 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3858, allocations: 19.98 kB / 0.5747 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3858, allocations: 19.94 kB / 0.5748 GB, free: 6.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002892/0.3861, allocations: 257 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.3862, allocations: 75.48 kB / 0.5751 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009697/0.3872, allocations: 0.5116 MB / 0.5756 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3872, allocations: 7.984 kB / 0.5756 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3872, allocations: 0 / 0.5756 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3872, allocations: 7.984 kB / 0.5756 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.3889, allocations: 1.302 MB / 0.5769 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3889, allocations: 4 kB / 0.5769 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3891, allocations: 59.92 kB / 0.5769 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.3891, allocations: 4 kB / 0.5769 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3891, allocations: 15.98 kB / 0.577 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3891, allocations: 8.188 kB / 0.577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3891, allocations: 8 kB / 0.577 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.39, allocations: 0.8016 MB / 0.5777 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3902, allocations: 107.4 kB / 0.5779 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.3903, allocations: 19.98 kB / 0.5779 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.3906, allocations: 19.98 kB / 0.5779 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.3907, allocations: 43.83 kB / 0.5779 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.3907, allocations: 19.98 kB / 0.578 GB, free: 3.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007691/0.3915, allocations: 0.706 MB / 0.5786 GB, free: 2.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3915, allocations: 0 / 0.5786 GB, free: 2.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.392, allocations: 87.94 kB / 0.5787 GB, free: 2.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003059/0.395, allocations: 1.771 MB / 0.5805 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.3957, allocations: 299.5 kB / 0.5807 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3957, allocations: 4 kB / 0.5807 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.396, allocations: 147.7 kB / 0.5809 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.3969, allocations: 120.2 kB / 0.581 GB, free: 44 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.4034, allocations: 5.134 MB / 0.586 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.404, allocations: 0.9167 MB / 0.5869 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.4042, allocations: 83.28 kB / 0.587 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.4045, allocations: 215.3 kB / 0.5872 GB, free: 9.484 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4045, allocations: 0 / 0.5872 GB, free: 9.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.4429, allocations: 11.81 MB / 0.5987 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.106/9.549, allocations: 6.281 kB / 0.5987 GB, free: 13.7 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00219736 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.60500052710995] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.700999767053872 9.729655871 9.352547203 Calling exit ...