Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001586/0.001586, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.001899/0.001899, allocations: 217.1 kB / 23.48 MB, free: 5.254 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.443/1.443, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2467/0.2467, 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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",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.00231/0.00231, allocations: 83.86 kB / 0.4952 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3725, allocations: 66 MB / 0.5596 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003668/0.3762, allocations: 1.932 MB / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.3784, allocations: 1.15 MB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3785, allocations: 7.938 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.379, allocations: 163.4 kB / 0.5628 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.3795, allocations: 179.3 kB / 0.563 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.3799, allocations: 123.6 kB / 0.5631 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.3802, allocations: 235.4 kB / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3803, allocations: 23.44 kB / 0.5633 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.3805, allocations: 119.5 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.3807, allocations: 143.5 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.3807, allocations: 8 kB / 0.5636 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3809, allocations: 63.97 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.381, allocations: 51.72 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3811, allocations: 87.41 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3815, allocations: 222.9 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3815, allocations: 0 / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3815, allocations: 4 kB / 0.564 GB, free: 476 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3815, allocations: 3.984 kB / 0.564 GB, free: 472 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008383/0.3823, allocations: 0.5445 MB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3824, allocations: 8.031 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.3824, allocations: 42.73 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.3825, allocations: 28.75 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.3829, allocations: 279.7 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3829, allocations: 4.375 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.383, allocations: 16.38 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3832, allocations: 110 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3832, allocations: 0 / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3833, allocations: 4 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3833, allocations: 4 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3834, allocations: 51.89 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.384, allocations: 472.7 kB / 0.5655 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.3844, allocations: 113.2 kB / 0.5656 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3845, allocations: 45.81 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3845, allocations: 4 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.3848, allocations: 121 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3848, allocations: 0 / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.3861, allocations: 0.4899 MB / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3862, allocations: 81.11 kB / 0.5663 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.3866, allocations: 375.3 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3867, allocations: 33.7 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3868, allocations: 140.5 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.3868, allocations: 79.31 kB / 0.5669 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.3869, allocations: 41.7 kB / 0.567 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3871, allocations: 350.8 kB / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3872, allocations: 55.92 kB / 0.5674 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3874, allocations: 99.27 kB / 0.5675 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.3877, allocations: 155.5 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3877, allocations: 4 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004176/0.3881, allocations: 229.3 kB / 0.5678 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3881, allocations: 8 kB / 0.5678 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3881, allocations: 3.938 kB / 0.5678 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3882, allocations: 4 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3883, allocations: 43.92 kB / 0.5679 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.3883, allocations: 4.234 kB / 0.5679 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.3884, allocations: 7.984 kB / 0.5679 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.3884, allocations: 16.06 kB / 0.5679 GB, free: 12.16 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001883/0.3886, allocations: 153.8 kB / 0.5681 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.3886, allocations: 35.78 kB / 0.5681 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.3892, allocations: 271.5 kB / 0.5684 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3892, allocations: 4 kB / 0.5684 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3892, allocations: 0 / 0.5684 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3892, allocations: 0 / 0.5684 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.3902, allocations: 0.7194 MB / 0.5691 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3902, allocations: 0 / 0.5691 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.3902, allocations: 31.98 kB / 0.5691 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.3902, allocations: 4 kB / 0.5691 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3903, allocations: 7.984 kB / 0.5691 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3903, allocations: 12.06 kB / 0.5691 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3903, allocations: 3.938 kB / 0.5691 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.3908, allocations: 428.8 kB / 0.5695 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.3909, allocations: 101 kB / 0.5696 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3909, allocations: 8 kB / 0.5696 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.391, allocations: 7.984 kB / 0.5696 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.3911, allocations: 27.86 kB / 0.5697 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3911, allocations: 8 kB / 0.5697 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.3914, allocations: 277.9 kB / 0.5699 GB, free: 9.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 0.5699 GB, free: 9.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.3918, allocations: 51.94 kB / 0.57 GB, free: 9.906 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.002639/0.3944, allocations: 1.367 MB / 0.5713 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.3948, allocations: 155.7 kB / 0.5715 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3948, allocations: 0 / 0.5715 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.395, allocations: 75.78 kB / 0.5716 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.3955, allocations: 64.14 kB / 0.5716 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.3992, allocations: 2.727 MB / 0.5743 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.3996, allocations: 0.7636 MB / 0.575 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3998, allocations: 37.94 kB / 0.5751 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3999, allocations: 87.39 kB / 0.5751 GB, free: 4.648 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3999, allocations: 0 / 0.5751 GB, free: 4.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.4318, allocations: 6.136 MB / 0.5811 GB, free: 14.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.78, allocations: 4.562 kB / 0.5811 GB, free: 14.54 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.788420717930421] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.926853716024198 8.943238215 8.557795345 Calling exit ...