Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.001251/0.001251, 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.001586/0.001586, allocations: 212.6 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.523/1.523, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2259/0.2259, allocations: 46.92 MB / 361.6 MB, free: 4.219 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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",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.002326/0.002326, allocations: 87.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3705, allocations: 66.09 MB / 0.5616 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00374/0.3743, allocations: 1.694 MB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.3763, allocations: 1.029 MB / 0.5642 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.3764, allocations: 0 / 0.5642 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.3767, allocations: 59.73 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.3771, allocations: 99.53 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.3773, allocations: 79.66 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.3775, allocations: 95.77 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.3775, allocations: 8.219 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3776, allocations: 51.72 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3778, allocations: 51.77 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3778, allocations: 4 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.3779, allocations: 27.98 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.3779, allocations: 19.92 kB / 0.5647 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.378, allocations: 31.8 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.3782, allocations: 105.5 kB / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3782, allocations: 0 / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3782, allocations: 3.938 kB / 0.5648 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3782, allocations: 0 / 0.5648 GB, free: 0.8164 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.0005915/0.3788, allocations: 345.6 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3788, allocations: 8.031 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.3789, allocations: 30.75 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.3789, allocations: 8.891 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.3792, allocations: 151.2 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3793, allocations: 4.375 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3793, allocations: 4.375 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3794, allocations: 49.8 kB / 0.5654 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3794, allocations: 7.922 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3795, allocations: 4 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3795, allocations: 4 kB / 0.5654 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.3795, allocations: 15.98 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.3798, allocations: 152.8 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3799, allocations: 46.62 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.38, allocations: 20.84 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.38, allocations: 4 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3802, allocations: 71.27 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3802, allocations: 0 / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003077/0.3805, allocations: 93.62 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3806, allocations: 51.41 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3808, allocations: 179.2 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3808, allocations: 41.64 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.3808, allocations: 100.1 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3809, allocations: 3.953 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3809, allocations: 21.72 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3811, allocations: 322.8 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.3811, allocations: 19.92 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.3812, allocations: 29.7 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.547e-05/0.3813, allocations: 41.72 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3813, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.3814, allocations: 93.45 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3815, allocations: 7.938 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3815, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3815, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.3816, allocations: 12 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3816, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.3816, allocations: 8.016 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3816, allocations: 8 kB / 0.5667 GB, free: 14.69 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.0001192/0.3817, allocations: 125.7 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3818, allocations: 11.89 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.382, allocations: 95.02 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.382, allocations: 0 / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.382, allocations: 4.062 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.382, allocations: 0 / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3822, allocations: 160.6 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3822, allocations: 7.938 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.3822, allocations: 4 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3822, allocations: 0 / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3822, allocations: 7.984 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3822, allocations: 0 / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3822, allocations: 0 / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3824, allocations: 105 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.3825, allocations: 15.88 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3825, allocations: 4 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.337e-05/0.3825, allocations: 0 / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.3825, allocations: 7.984 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3826, allocations: 4 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3827, allocations: 133.6 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3827, allocations: 0 / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.3829, allocations: 19.98 kB / 0.5674 GB, free: 13.91 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.001936/0.3848, allocations: 0.9623 MB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.385, allocations: 35.98 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.385, allocations: 0 / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.3851, allocations: 19.94 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3854, allocations: 26.31 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.3871, allocations: 1.481 MB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3874, allocations: 0.704 MB / 0.5705 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.3875, allocations: 20.41 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3876, allocations: 23.44 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3876, allocations: 4 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.4143, allocations: 3.163 MB / 0.5737 GB, free: 7.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.529, allocations: 9.234 kB / 0.5737 GB, free: 7.477 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.58727411692962] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.66745507484302 8.68505764 8.303588524 Calling exit ...