Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001768/0.001768, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002056/0.002056, allocations: 219.5 kB / 23 MB, free: 5.609 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.469/1.469, allocations: 230.2 MB / 256.2 MB, free: 8.688 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.2273/0.2273, allocations: 46.89 MB / 359.4 MB, free: 4.93 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",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.002458/0.002458, allocations: 83.86 kB / 0.4942 GB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3367, allocations: 65.98 MB / 0.5587 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003086/0.3398, allocations: 1.741 MB / 0.5604 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3416, allocations: 1.052 MB / 0.5614 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.3416, allocations: 4 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3419, allocations: 55.75 kB / 0.5614 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3422, allocations: 99.55 kB / 0.5615 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3424, allocations: 79.66 kB / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3426, allocations: 99.75 kB / 0.5617 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.3427, allocations: 9.766 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3428, allocations: 47.83 kB / 0.5618 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.3428, allocations: 27.8 kB / 0.5618 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3429, allocations: 8 kB / 0.5618 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.343, allocations: 47.97 kB / 0.5619 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.343, allocations: 31.84 kB / 0.5619 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.3431, allocations: 43.62 kB / 0.5619 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3433, allocations: 143.4 kB / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3433, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3433, allocations: 0 / 0.5621 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3433, allocations: 0 / 0.5621 GB, free: 1.621 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006047/0.3439, allocations: 458.4 kB / 0.5625 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.344, allocations: 12.03 kB / 0.5625 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.344, allocations: 34.75 kB / 0.5625 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.344, allocations: 16.84 kB / 0.5626 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3444, allocations: 227.8 kB / 0.5628 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3444, allocations: 4.375 kB / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3444, allocations: 384 / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3446, allocations: 57.8 kB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3446, allocations: 7.984 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3446, allocations: 4 kB / 0.5628 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3446, allocations: 4 kB / 0.5628 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.3447, allocations: 19.98 kB / 0.5629 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3451, allocations: 296.9 kB / 0.5632 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3452, allocations: 58.61 kB / 0.5632 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.3453, allocations: 20.84 kB / 0.5632 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3453, allocations: 4 kB / 0.5632 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3455, allocations: 63.39 kB / 0.5633 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3455, allocations: 3.938 kB / 0.5633 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.3461, allocations: 193.2 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.3461, allocations: 55.41 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.3464, allocations: 272.3 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3464, allocations: 33.7 kB / 0.5638 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.3465, allocations: 116.1 kB / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3465, allocations: 19.86 kB / 0.564 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.3466, allocations: 29.7 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3467, allocations: 334.6 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.3468, allocations: 23.98 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.3469, allocations: 33.7 kB / 0.5644 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.347, allocations: 69.7 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.347, allocations: 0 / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002095/0.3472, allocations: 109.5 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3472, allocations: 4 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3472, allocations: 0 / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3472, allocations: 0 / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3473, allocations: 16 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3473, allocations: 3.984 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3474, allocations: 15.97 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.3474, allocations: 0 / 0.5646 GB, free: 14.8 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 (10): * Single equations (assignments): 10 * 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.0001224/0.3475, allocations: 141.7 kB / 0.5647 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3475, allocations: 15.91 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3478, allocations: 119.2 kB / 0.5648 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3478, allocations: 4 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3478, allocations: 0 / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3478, allocations: 3.984 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3483, allocations: 411.6 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3483, allocations: 0 / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.3483, allocations: 19.92 kB / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3483, allocations: 4 kB / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3483, allocations: 0 / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3483, allocations: 3.938 kB / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3483, allocations: 0 / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3486, allocations: 216.2 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3486, allocations: 92.97 kB / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3487, allocations: 3.984 kB / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.3487, allocations: 7.938 kB / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3488, allocations: 8 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3488, allocations: 7.984 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.349, allocations: 216.5 kB / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.349, allocations: 0 / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3493, allocations: 27.98 kB / 0.5658 GB, free: 13.41 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: 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 (8): * Single equations (assignments): 6 * 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.002134/0.3514, allocations: 1.084 MB / 0.5669 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3516, allocations: 59.84 kB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3516, allocations: 0 / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.3517, allocations: 36.06 kB / 0.567 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.352, allocations: 27.48 kB / 0.567 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.3543, allocations: 1.886 MB / 0.5688 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.3546, allocations: 0.7197 MB / 0.5695 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.3547, allocations: 20.88 kB / 0.5696 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.3548, allocations: 43.42 kB / 0.5696 GB, free: 9.574 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3548, allocations: 0 / 0.5696 GB, free: 9.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3838, allocations: 3.866 MB / 0.5734 GB, free: 5.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.564, allocations: 14.98 kB / 0.5734 GB, free: 5.715 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.433480084990151] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.691181186004542 8.71810924 8.369659473 Calling exit ...