Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.001299/0.001299, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00139/0.00139, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.2253/0.2253, allocations: 46.93 MB / 361.6 MB, free: 4.258 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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",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.002294/0.002294, allocations: 83.86 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3527, allocations: 66.08 MB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003326/0.3561, allocations: 1.745 MB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.358, allocations: 1.049 MB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.3581, allocations: 4 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.3585, allocations: 91.62 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.3588, allocations: 111.6 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.3591, allocations: 79.66 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3593, allocations: 115.7 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3594, allocations: 9.969 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3595, allocations: 59.7 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3596, allocations: 63.8 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3596, allocations: 8 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3597, allocations: 43.98 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.3598, allocations: 27.86 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.3599, allocations: 43.66 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.3601, allocations: 119.5 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3601, allocations: 0 / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3601, allocations: 0 / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3601, allocations: 0 / 0.565 GB, free: 0.6797 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.0005894/0.3607, allocations: 357.5 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3607, allocations: 12.03 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.3608, allocations: 30.75 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3608, allocations: 16.84 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3611, allocations: 170.1 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3611, allocations: 384 / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3611, allocations: 4.375 kB / 0.5656 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3613, allocations: 57.8 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3613, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3613, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3613, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.3614, allocations: 27.98 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3618, allocations: 260 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.362, allocations: 58.61 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.362, allocations: 12.86 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.362, allocations: 11.98 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3622, allocations: 67.39 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3622, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.3628, allocations: 173.4 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3629, allocations: 59.39 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3631, allocations: 219.5 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3632, allocations: 29.64 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3632, allocations: 120 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.3633, allocations: 31.77 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.3633, allocations: 25.72 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3635, allocations: 326.8 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.3635, allocations: 19.98 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.3636, allocations: 37.7 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3638, allocations: 61.77 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3638, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.364, allocations: 105.5 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.364, allocations: 4 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.364, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.364, allocations: 4 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.3641, allocations: 19.92 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3641, allocations: 0 / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.3642, allocations: 8.031 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3642, allocations: 0 / 0.5673 GB, free: 14.18 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.000148/0.3643, allocations: 138.6 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3643, allocations: 15.91 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3646, allocations: 111.1 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.3646, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3646, allocations: 3.938 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3646, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.3651, allocations: 374.4 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3651, allocations: 0 / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.3652, allocations: 11.94 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3652, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.3652, allocations: 8 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3652, allocations: 3.938 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3652, allocations: 0 / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.3655, allocations: 204.3 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.3655, allocations: 11.94 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3655, allocations: 8.375 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.3656, allocations: 3.938 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3657, allocations: 19.86 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3657, allocations: 4 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3659, allocations: 169.3 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3659, allocations: 0 / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3661, allocations: 39.81 kB / 0.5684 GB, free: 12.98 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.002331/0.3685, allocations: 1.074 MB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.3687, allocations: 59.84 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3687, allocations: 3.938 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.3687, allocations: 31.91 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3691, allocations: 33.48 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3711, allocations: 1.715 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3715, allocations: 0.7119 MB / 0.5719 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3716, allocations: 21.27 kB / 0.5719 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.3716, allocations: 35.42 kB / 0.5719 GB, free: 9.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3716, allocations: 0 / 0.5719 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.4085, allocations: 3.642 MB / 0.5755 GB, free: 5.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.48, allocations: 3.984 kB / 0.5755 GB, free: 5.688 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.377229272387922] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.622967809904367 8.65190981 8.286386516 Calling exit ...