Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001405/0.001405, allocations: 105 kB / 19.74 MB, free: 2.453 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.001582/0.001582, allocations: 214.8 kB / 22.92 MB, free: 5.195 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.317/1.317, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2018/0.2018, allocations: 46.88 MB / 359.3 MB, free: 4.945 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",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.002087/0.002087, allocations: 87.86 kB / 0.494 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2582, allocations: 65.99 MB / 0.5585 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003217/0.2615, allocations: 1.949 MB / 0.5604 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2631, allocations: 1.088 MB / 0.5614 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.2632, allocations: 4 kB / 0.5614 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.2635, allocations: 47.69 kB / 0.5615 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.2638, allocations: 99.48 kB / 0.5616 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2641, allocations: 99.64 kB / 0.5617 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2643, allocations: 143.5 kB / 0.5618 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2644, allocations: 27.36 kB / 0.5618 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.2645, allocations: 59.72 kB / 0.5619 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.2646, allocations: 51.7 kB / 0.5619 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.2646, allocations: 8 kB / 0.562 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2647, allocations: 51.92 kB / 0.562 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.2648, allocations: 23.91 kB / 0.562 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.2648, allocations: 47.62 kB / 0.5621 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.2651, allocations: 163.2 kB / 0.5622 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2651, allocations: 4 kB / 0.5622 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2651, allocations: 0 / 0.5622 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2651, allocations: 0 / 0.5622 GB, free: 1.309 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006201/0.2657, allocations: 488.1 kB / 0.5627 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2658, allocations: 12.03 kB / 0.5627 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.2658, allocations: 34.75 kB / 0.5627 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.2658, allocations: 16.84 kB / 0.5628 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2661, allocations: 241.7 kB / 0.563 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2662, allocations: 4.375 kB / 0.563 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2662, allocations: 15.88 kB / 0.563 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2664, allocations: 106.6 kB / 0.5631 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2664, allocations: 0 / 0.5631 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2664, allocations: 4 kB / 0.5631 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2664, allocations: 0 / 0.5631 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.2666, allocations: 59.89 kB / 0.5632 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.2672, allocations: 0.4932 MB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2675, allocations: 98.52 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.2676, allocations: 32.84 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2676, allocations: 4 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.2678, allocations: 83.31 kB / 0.5639 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2678, allocations: 0 / 0.5639 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003871/0.2682, allocations: 153.4 kB / 0.564 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2682, allocations: 51.41 kB / 0.5641 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2684, allocations: 207.1 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2684, allocations: 25.7 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.2685, allocations: 116.1 kB / 0.5644 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.2685, allocations: 31.73 kB / 0.5644 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.2686, allocations: 25.72 kB / 0.5644 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2687, allocations: 334.8 kB / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.2688, allocations: 27.98 kB / 0.5648 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2689, allocations: 60.27 kB / 0.5648 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.2691, allocations: 100.2 kB / 0.5649 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2691, allocations: 0 / 0.5649 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.2694, allocations: 141.7 kB / 0.5651 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2694, allocations: 6.344 kB / 0.5651 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2694, allocations: 4 kB / 0.5651 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2694, allocations: 8.062 kB / 0.5651 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.2695, allocations: 27.98 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2695, allocations: 0 / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.2696, allocations: 19.94 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2696, allocations: 4 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001048/0.2697, allocations: 129.7 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2697, allocations: 15.91 kB / 0.5653 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.27, allocations: 135 kB / 0.5654 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.27, allocations: 3.938 kB / 0.5654 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.27, allocations: 4 kB / 0.5654 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.27, allocations: 0 / 0.5654 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.2702, allocations: 213.6 kB / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2702, allocations: 0 / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.2703, allocations: 8 kB / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2703, allocations: 4 kB / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2703, allocations: 0 / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2703, allocations: 11.86 kB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2703, allocations: 0 / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2707, allocations: 184.9 kB / 0.5658 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.2707, allocations: 89.05 kB / 0.5659 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.2707, allocations: 0 / 0.5659 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.2708, allocations: 12.2 kB / 0.5659 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2708, allocations: 11.98 kB / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2708, allocations: 4 kB / 0.5659 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.271, allocations: 156.4 kB / 0.5661 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.271, allocations: 0 / 0.5661 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.2712, allocations: 27.94 kB / 0.5661 GB, free: 12.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001934/0.2731, allocations: 1.006 MB / 0.5671 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.2734, allocations: 71.91 kB / 0.5672 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.2734, allocations: 4 kB / 0.5672 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.2735, allocations: 39.91 kB / 0.5672 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2737, allocations: 39.05 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.2758, allocations: 1.768 MB / 0.569 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2762, allocations: 0.72 MB / 0.5697 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.2762, allocations: 17.42 kB / 0.5697 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.2763, allocations: 39.42 kB / 0.5697 GB, free: 9.223 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.2763, allocations: 0 / 0.5697 GB, free: 9.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3021, allocations: 3.85 MB / 0.5735 GB, free: 5.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.352, allocations: 7.547 kB / 0.5735 GB, free: 5.391 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.937715763007873]