Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.00157/0.00157, 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.001588/0.001588, allocations: 215.5 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.483/1.483, 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.2292/0.2292, allocations: 46.89 MB / 360 MB, free: 4.715 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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",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.002311/0.002311, allocations: 83.86 kB / 0.4952 GB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3651, allocations: 65.99 MB / 0.5596 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003545/0.3687, allocations: 1.753 MB / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3705, allocations: 1.06 MB / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3706, allocations: 0 / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.3709, allocations: 87.69 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.3713, allocations: 119.5 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3715, allocations: 83.66 kB / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3717, allocations: 123.7 kB / 0.5628 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3718, allocations: 21.8 kB / 0.5628 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3719, allocations: 55.78 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.372, allocations: 63.8 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.372, allocations: 4 kB / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3722, allocations: 67.95 kB / 0.563 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.3722, allocations: 27.8 kB / 0.563 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.3723, allocations: 43.69 kB / 0.563 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3726, allocations: 143.4 kB / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3726, allocations: 4 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3726, allocations: 4 kB / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3726, allocations: 0 / 0.5632 GB, free: 1.297 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.0006511/0.3732, allocations: 450.5 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3733, allocations: 8.031 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.3733, allocations: 30.75 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.3734, allocations: 24.83 kB / 0.5637 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3737, allocations: 229.6 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3737, allocations: 4.375 kB / 0.5639 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3738, allocations: 384 / 0.5639 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3739, allocations: 65.8 kB / 0.564 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3739, allocations: 0 / 0.564 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3739, allocations: 4 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.374, allocations: 4 kB / 0.564 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.374, allocations: 19.98 kB / 0.564 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3745, allocations: 312.6 kB / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.3747, allocations: 58.56 kB / 0.5643 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.3748, allocations: 20.97 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3748, allocations: 4 kB / 0.5644 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.375, allocations: 67.33 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.375, allocations: 4 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008194/0.3758, allocations: 249.2 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3759, allocations: 51.41 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3761, allocations: 242.9 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3761, allocations: 29.7 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.3762, allocations: 112.1 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.3763, allocations: 31.73 kB / 0.5651 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.3763, allocations: 29.7 kB / 0.5651 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3765, allocations: 326.8 kB / 0.5655 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.3765, allocations: 31.98 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.3766, allocations: 45.7 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3768, allocations: 81.58 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3768, allocations: 0 / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002227/0.377, allocations: 125.6 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.377, allocations: 7.984 kB / 0.5657 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.377, allocations: 7.969 kB / 0.5657 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.377, allocations: 0 / 0.5657 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.3771, allocations: 20 kB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3771, allocations: 0 / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.3772, allocations: 11.92 kB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3772, allocations: 4 kB / 0.5658 GB, free: 14.39 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 (13): * Single equations (assignments): 13 * 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.0001152/0.3773, allocations: 133.8 kB / 0.5659 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3773, allocations: 11.91 kB / 0.5659 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.3776, allocations: 155.1 kB / 0.5661 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3776, allocations: 0 / 0.5661 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3776, allocations: 0 / 0.5661 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.3777, allocations: 7.922 kB / 0.5661 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.3783, allocations: 448.1 kB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3783, allocations: 3.984 kB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.3783, allocations: 19.94 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3783, allocations: 8.047 kB / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3784, allocations: 4.094 kB / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3784, allocations: 7.938 kB / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3784, allocations: 0 / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3786, allocations: 237.1 kB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.3787, allocations: 92.95 kB / 0.5669 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3787, allocations: 12 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.3788, allocations: 3.984 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3788, allocations: 8 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3789, allocations: 8 kB / 0.5669 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.379, allocations: 172.4 kB / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.379, allocations: 0 / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3793, allocations: 31.92 kB / 0.5671 GB, free: 12.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002362/0.3817, allocations: 1.18 MB / 0.5682 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3819, allocations: 75.84 kB / 0.5683 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3819, allocations: 4 kB / 0.5683 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.382, allocations: 39.98 kB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3823, allocations: 30.55 kB / 0.5684 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3846, allocations: 1.864 MB / 0.5702 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.3851, allocations: 0.7165 MB / 0.5709 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.3851, allocations: 20.62 kB / 0.5709 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.3852, allocations: 47.41 kB / 0.571 GB, free: 9 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3852, allocations: 0 / 0.571 GB, free: 9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.4124, allocations: 3.964 MB / 0.5748 GB, free: 5.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.604, allocations: 4 kB / 0.5748 GB, free: 5.055 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.656848173006438] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.731198107940145 8.755806473 8.378249179 Calling exit ...