Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001696/0.001696, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001271/0.001271, allocations: 219 kB / 22.92 MB, free: 5.539 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.285/1.285, allocations: 230.2 MB / 256.2 MB, free: 8.758 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.2026/0.2026, allocations: 46.89 MB / 359.3 MB, free: 4.996 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",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.002178/0.002178, allocations: 87.86 kB / 0.4941 GB, free: 9.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2605, allocations: 65.98 MB / 0.5585 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003013/0.2636, allocations: 1.761 MB / 0.5602 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2652, allocations: 1.061 MB / 0.5613 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.2653, allocations: 0 / 0.5613 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.2656, allocations: 87.7 kB / 0.5613 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.2659, allocations: 115.5 kB / 0.5615 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2661, allocations: 83.66 kB / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.2663, allocations: 119.7 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.2664, allocations: 13.81 kB / 0.5617 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.2665, allocations: 59.75 kB / 0.5617 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.2666, allocations: 55.81 kB / 0.5618 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2666, allocations: 7.938 kB / 0.5618 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.2667, allocations: 63.98 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.2668, allocations: 35.83 kB / 0.5619 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.2668, allocations: 35.69 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.267, allocations: 139.4 kB / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.267, allocations: 0 / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.267, allocations: 0 / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.267, allocations: 0 / 0.562 GB, free: 1.551 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.0005449/0.2676, allocations: 454.4 kB / 0.5625 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2676, allocations: 8.031 kB / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.2676, allocations: 34.75 kB / 0.5625 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.2677, allocations: 16.84 kB / 0.5625 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.2679, allocations: 220.1 kB / 0.5627 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.2679, allocations: 4.375 kB / 0.5627 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.268, allocations: 3.938 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2681, allocations: 57.67 kB / 0.5628 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2681, allocations: 3.984 kB / 0.5628 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2681, allocations: 4 kB / 0.5628 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2681, allocations: 4 kB / 0.5628 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.2682, allocations: 23.98 kB / 0.5628 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.2686, allocations: 308.7 kB / 0.5631 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2688, allocations: 66.53 kB / 0.5632 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.2688, allocations: 16.98 kB / 0.5632 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2689, allocations: 0 / 0.5632 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.269, allocations: 75.38 kB / 0.5633 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.269, allocations: 0 / 0.5633 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007097/0.2697, allocations: 249.7 kB / 0.5635 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.2697, allocations: 55.34 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.27, allocations: 224.2 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.27, allocations: 33.7 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.2701, allocations: 108.1 kB / 0.5639 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.2701, allocations: 31.73 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.2701, allocations: 29.72 kB / 0.564 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2703, allocations: 326.8 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.2703, allocations: 27.98 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.2704, allocations: 45.7 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2705, allocations: 85.64 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2706, allocations: 0 / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.2708, allocations: 125.6 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2708, allocations: 4 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2708, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2708, allocations: 4 kB / 0.5646 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.2709, allocations: 35.8 kB / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2709, allocations: 0 / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.2709, allocations: 4 kB / 0.5646 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2709, allocations: 12.02 kB / 0.5646 GB, free: 14.65 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.0001063/0.271, allocations: 125.8 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2711, allocations: 11.91 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.2713, allocations: 150.9 kB / 0.5649 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2713, allocations: 3.938 kB / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2713, allocations: 0 / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2714, allocations: 3.938 kB / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.2719, allocations: 464 kB / 0.5653 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2719, allocations: 0 / 0.5653 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.2719, allocations: 15.98 kB / 0.5654 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2719, allocations: 0 / 0.5654 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2719, allocations: 4 kB / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2719, allocations: 0 / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2719, allocations: 8 kB / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.2722, allocations: 237.1 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2722, allocations: 93 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.2723, allocations: 0 / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.2723, allocations: 8 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2724, allocations: 7.984 kB / 0.5657 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2724, allocations: 4 kB / 0.5657 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.2725, allocations: 169.2 kB / 0.5659 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2725, allocations: 0 / 0.5659 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.2728, allocations: 35.86 kB / 0.5659 GB, free: 13.21 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.002135/0.2749, allocations: 1.169 MB / 0.567 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.2751, allocations: 75.91 kB / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2751, allocations: 0 / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.2752, allocations: 35.92 kB / 0.5672 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2755, allocations: 38.09 kB / 0.5672 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2773, allocations: 1.819 MB / 0.569 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.2776, allocations: 0.7157 MB / 0.5697 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.2777, allocations: 20.64 kB / 0.5697 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.2777, allocations: 51.41 kB / 0.5697 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2777, allocations: 192 / 0.5697 GB, free: 9.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.301, allocations: 3.908 MB / 0.5735 GB, free: 5.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.102/7.403, allocations: 7.359 kB / 0.5736 GB, free: 5.441 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_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_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.978430097995442]