Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.001605/0.001605, allocations: 109.5 kB / 19.74 MB, free: 2.586 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.001666/0.001666, allocations: 219 kB / 22.92 MB, free: 5.559 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.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.609 MB / 206.1 MB " [Timeout remaining time 179] 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.2029/0.2029, allocations: 46.89 MB / 359.3 MB, free: 4.957 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",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.002117/0.002117, allocations: 83.84 kB / 0.4941 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2665, allocations: 65.98 MB / 0.5585 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002732/0.2692, allocations: 1.763 MB / 0.5602 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2707, allocations: 1.053 MB / 0.5613 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.2708, allocations: 0 / 0.5613 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.2711, allocations: 107.6 kB / 0.5614 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2714, allocations: 123.5 kB / 0.5615 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2715, allocations: 83.67 kB / 0.5616 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.2717, allocations: 131.6 kB / 0.5617 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.2718, allocations: 9.812 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.2719, allocations: 67.69 kB / 0.5618 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.272, allocations: 63.8 kB / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.272, allocations: 4 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2721, allocations: 67.91 kB / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.2722, allocations: 23.92 kB / 0.5619 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.2722, allocations: 43.67 kB / 0.562 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2724, allocations: 151.3 kB / 0.5621 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2724, allocations: 4 kB / 0.5621 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2724, allocations: 0 / 0.5621 GB, free: 1.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2724, allocations: 4 kB / 0.5621 GB, free: 1.469 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.0005244/0.273, allocations: 454.4 kB / 0.5625 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.273, allocations: 12.02 kB / 0.5626 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.273, allocations: 34.75 kB / 0.5626 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.2731, allocations: 12.84 kB / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.2733, allocations: 223.9 kB / 0.5628 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2733, allocations: 4.375 kB / 0.5628 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2733, allocations: 11.89 kB / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2735, allocations: 65.61 kB / 0.5629 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2735, allocations: 7.969 kB / 0.5629 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2735, allocations: 0 / 0.5629 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2735, allocations: 0 / 0.5629 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.2736, allocations: 19.98 kB / 0.5629 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.2739, allocations: 312.7 kB / 0.5632 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.2741, allocations: 62.48 kB / 0.5633 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.2742, allocations: 20.97 kB / 0.5633 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2742, allocations: 4 kB / 0.5633 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.2743, allocations: 63.39 kB / 0.5634 GB, free: 12 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2743, allocations: 0 / 0.5634 GB, free: 12 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006911/0.275, allocations: 261.7 kB / 0.5636 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2751, allocations: 55.34 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.2753, allocations: 251.1 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2753, allocations: 29.7 kB / 0.5639 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.2754, allocations: 116.1 kB / 0.564 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2754, allocations: 35.69 kB / 0.5641 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.2755, allocations: 29.7 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2756, allocations: 330.8 kB / 0.5644 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.2757, allocations: 27.98 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.2758, allocations: 45.7 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2759, allocations: 77.7 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.2759, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002143/0.2761, allocations: 141.4 kB / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.2761, allocations: 8.031 kB / 0.5647 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2761, allocations: 0 / 0.5647 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2761, allocations: 0 / 0.5647 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.2762, allocations: 31.86 kB / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2762, allocations: 0 / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.2763, allocations: 4 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2763, allocations: 8 kB / 0.5648 GB, free: 14.52 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.0001004/0.2764, allocations: 129.8 kB / 0.5649 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2764, allocations: 15.91 kB / 0.5649 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.2767, allocations: 155.1 kB / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2767, allocations: 3.938 kB / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2767, allocations: 0 / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2767, allocations: 0 / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.2772, allocations: 456 kB / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2772, allocations: 0 / 0.5655 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.2772, allocations: 16 kB / 0.5655 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2772, allocations: 11.98 kB / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2772, allocations: 0 / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2772, allocations: 4 kB / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2772, allocations: 0 / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.2775, allocations: 237.1 kB / 0.5657 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.2776, allocations: 101 kB / 0.5658 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2776, allocations: 3.938 kB / 0.5658 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.2777, allocations: 4 kB / 0.5658 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.2777, allocations: 11.98 kB / 0.5658 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2777, allocations: 4 kB / 0.5659 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.2779, allocations: 184.5 kB / 0.566 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2779, allocations: 0 / 0.566 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2781, allocations: 35.92 kB / 0.5661 GB, free: 13.05 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.002127/0.2802, allocations: 1.172 MB / 0.5672 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.2804, allocations: 75.91 kB / 0.5673 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2804, allocations: 4.062 kB / 0.5673 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.2805, allocations: 35.92 kB / 0.5673 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2808, allocations: 34.3 kB / 0.5674 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2827, allocations: 1.887 MB / 0.5692 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.283, allocations: 0.7167 MB / 0.5699 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.2831, allocations: 16.62 kB / 0.5699 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.2832, allocations: 51.36 kB / 0.57 GB, free: 9.09 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.2832, allocations: 4 kB / 0.57 GB, free: 9.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3067, allocations: 4.049 MB / 0.5739 GB, free: 5.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.576, allocations: 3.609 kB / 0.5739 GB, free: 5.055 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.125788773002569]