Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.001318/0.001318, 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.00149/0.00149, allocations: 214.9 kB / 23.48 MB, free: 5.227 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.448/1.448, allocations: 230.2 MB / 256.8 MB, free: 8.547 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.2302/0.2302, allocations: 46.89 MB / 360 MB, free: 4.699 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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",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.002245/0.002245, allocations: 79.88 kB / 0.4951 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 66 MB / 0.5596 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00344/0.3575, allocations: 1.827 MB / 0.5614 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3605, allocations: 1.8 MB / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.3606, allocations: 0 / 0.5631 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.3609, allocations: 59.62 kB / 0.5632 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.3613, allocations: 131.4 kB / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.3616, allocations: 111.6 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3619, allocations: 199.4 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.103e-05/0.362, allocations: 5.688 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3621, allocations: 95.56 kB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.3624, allocations: 83.66 kB / 0.5638 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3624, allocations: 8 kB / 0.5638 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.3626, allocations: 119.9 kB / 0.5639 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3627, allocations: 35.84 kB / 0.564 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.3628, allocations: 67.53 kB / 0.564 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3631, allocations: 224.9 kB / 0.5642 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3631, allocations: 4 kB / 0.5642 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3631, allocations: 0 / 0.5642 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3631, allocations: 0 / 0.5642 GB, free: 172 kB / 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.0007795/0.3639, allocations: 0.4941 MB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.364, allocations: 11.97 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.364, allocations: 38.75 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.3641, allocations: 16.84 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.3645, allocations: 252 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3645, allocations: 8.312 kB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3645, allocations: 4.312 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.3648, allocations: 109.1 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3648, allocations: 0 / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3648, allocations: 0 / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3648, allocations: 4 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3649, allocations: 31.97 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.3652, allocations: 218.5 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.3655, allocations: 109.2 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.3656, allocations: 33.7 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3656, allocations: 4 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.3658, allocations: 113 kB / 0.5656 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3658, allocations: 0 / 0.5656 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004702/0.3663, allocations: 169.4 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.3664, allocations: 136.5 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3667, allocations: 237 kB / 0.5661 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3667, allocations: 33.7 kB / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.3668, allocations: 116.1 kB / 0.5663 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.3669, allocations: 31.78 kB / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.3669, allocations: 25.72 kB / 0.5663 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3671, allocations: 330.8 kB / 0.5667 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.3672, allocations: 28.48 kB / 0.5667 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3673, allocations: 73.14 kB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3675, allocations: 95.34 kB / 0.5668 GB, free: 13.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3675, allocations: 0 / 0.5668 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002823/0.3678, allocations: 141.4 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3678, allocations: 8 kB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3678, allocations: 0 / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3678, allocations: 0 / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3679, allocations: 23.98 kB / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3679, allocations: 0 / 0.567 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.368, allocations: 23.88 kB / 0.567 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.368, allocations: 7.984 kB / 0.567 GB, free: 12.97 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001363/0.3682, allocations: 129.8 kB / 0.5672 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.3682, allocations: 23.84 kB / 0.5672 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.3686, allocations: 146.6 kB / 0.5673 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3686, allocations: 7.938 kB / 0.5673 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3686, allocations: 4.188 kB / 0.5673 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3686, allocations: 0 / 0.5673 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.3688, allocations: 229.5 kB / 0.5676 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3688, allocations: 3.938 kB / 0.5676 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.3689, allocations: 7.984 kB / 0.5676 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3689, allocations: 4 kB / 0.5676 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3689, allocations: 4 kB / 0.5676 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3689, allocations: 4 kB / 0.5676 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3689, allocations: 0 / 0.5676 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.3692, allocations: 165.8 kB / 0.5677 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.3693, allocations: 100.9 kB / 0.5678 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.3693, allocations: 4 kB / 0.5678 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3694, allocations: 15.98 kB / 0.5679 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3694, allocations: 4 kB / 0.5679 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.3694, allocations: 7.984 kB / 0.5679 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.3696, allocations: 181.5 kB / 0.568 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3696, allocations: 0 / 0.568 GB, free: 11.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.3699, allocations: 59.86 kB / 0.5681 GB, free: 11.78 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002219/0.3721, allocations: 1.1 MB / 0.5692 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.3724, allocations: 75.91 kB / 0.5692 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3724, allocations: 0 / 0.5692 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3725, allocations: 35.92 kB / 0.5693 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3729, allocations: 65.03 kB / 0.5693 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3753, allocations: 1.902 MB / 0.5712 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3757, allocations: 0.728 MB / 0.5719 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.3758, allocations: 25.55 kB / 0.5719 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3759, allocations: 59.39 kB / 0.572 GB, free: 7.812 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3759, allocations: 4 kB / 0.572 GB, free: 7.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4052, allocations: 5.326 MB / 0.5772 GB, free: 2.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.472, allocations: 8 kB / 0.5772 GB, free: 2.477 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.531787913059816] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.599318951019086 8.624126589 8.256417951 Calling exit ...