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.001168/0.001168, allocations: 105 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.00129/0.00129, allocations: 218.4 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.271/1.271, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.1964/0.1964, allocations: 46.89 MB / 359.3 MB, free: 4.973 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.002111/0.002111, allocations: 83.86 kB / 0.4941 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2598, allocations: 65.97 MB / 0.5585 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002821/0.2626, allocations: 1.772 MB / 0.5602 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2642, allocations: 1.049 MB / 0.5613 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.2642, allocations: 0 / 0.5613 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.2645, allocations: 111.6 kB / 0.5614 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.2649, allocations: 131.5 kB / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.265, allocations: 79.67 kB / 0.5616 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.2652, allocations: 123.7 kB / 0.5617 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.2653, allocations: 13.81 kB / 0.5617 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.2654, allocations: 59.75 kB / 0.5618 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2655, allocations: 71.8 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2655, allocations: 4 kB / 0.5618 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.2657, allocations: 63.91 kB / 0.5619 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.2657, allocations: 27.86 kB / 0.5619 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.2658, allocations: 43.67 kB / 0.562 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.266, allocations: 151.3 kB / 0.5621 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.266, allocations: 4 kB / 0.5621 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.266, allocations: 0 / 0.5621 GB, free: 1.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.266, allocations: 0 / 0.5621 GB, free: 1.441 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.0005379/0.2665, allocations: 450.4 kB / 0.5625 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2666, allocations: 15.97 kB / 0.5625 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.2666, allocations: 38.73 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.2666, allocations: 16.84 kB / 0.5626 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2669, allocations: 219.9 kB / 0.5628 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2669, allocations: 4.375 kB / 0.5628 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.2669, allocations: 11.89 kB / 0.5628 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2671, allocations: 61.61 kB / 0.5629 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2671, allocations: 0 / 0.5629 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.2671, allocations: 0 / 0.5629 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2671, allocations: 7.984 kB / 0.5629 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.2672, allocations: 27.92 kB / 0.5629 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.2675, allocations: 304.7 kB / 0.5632 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.2677, allocations: 70.53 kB / 0.5633 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.2678, allocations: 20.97 kB / 0.5633 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2678, allocations: 0 / 0.5633 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.268, allocations: 71.33 kB / 0.5634 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.268, allocations: 0 / 0.5634 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006934/0.2687, allocations: 253.7 kB / 0.5636 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2687, allocations: 63.33 kB / 0.5637 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.2689, allocations: 247.2 kB / 0.5639 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.269, allocations: 29.7 kB / 0.5639 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.269, allocations: 116.1 kB / 0.564 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.2691, allocations: 35.69 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.2691, allocations: 29.7 kB / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2692, allocations: 330.8 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.2693, allocations: 27.98 kB / 0.5644 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.2694, allocations: 45.7 kB / 0.5645 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2695, allocations: 81.64 kB / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2695, allocations: 0 / 0.5646 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002156/0.2697, allocations: 129.5 kB / 0.5647 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2698, allocations: 8.031 kB / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2698, allocations: 4 kB / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2698, allocations: 0 / 0.5647 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.2699, allocations: 19.94 kB / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2699, allocations: 3.984 kB / 0.5647 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.2699, allocations: 8 kB / 0.5647 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2699, allocations: 4 kB / 0.5647 GB, free: 14.49 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.0001127/0.27, allocations: 137.8 kB / 0.5649 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.2701, allocations: 11.91 kB / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.2703, allocations: 151.2 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2703, allocations: 3.938 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2703, allocations: 0 / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2703, allocations: 0 / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.2708, allocations: 467.9 kB / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2708, allocations: 0 / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.2709, allocations: 12 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2709, allocations: 4.062 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2709, allocations: 11.98 kB / 0.5655 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2709, allocations: 3.938 kB / 0.5655 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2709, allocations: 0 / 0.5655 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.2712, allocations: 233.1 kB / 0.5657 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.2712, allocations: 93.02 kB / 0.5658 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.2712, allocations: 7.984 kB / 0.5658 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.2713, allocations: 4 kB / 0.5658 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2713, allocations: 15.92 kB / 0.5658 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2713, allocations: 7.938 kB / 0.5659 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.2715, allocations: 192.5 kB / 0.566 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2715, allocations: 0 / 0.566 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.2718, allocations: 27.94 kB / 0.5661 GB, free: 13.01 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.002176/0.2739, allocations: 1.173 MB / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.2741, allocations: 71.92 kB / 0.5673 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2741, allocations: 4.062 kB / 0.5673 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.2742, allocations: 39.92 kB / 0.5673 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.2745, allocations: 34.41 kB / 0.5674 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.2764, allocations: 1.879 MB / 0.5692 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2768, allocations: 0.7204 MB / 0.5699 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.2768, allocations: 16.64 kB / 0.5699 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.2769, allocations: 43.42 kB / 0.5699 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2769, allocations: 4 kB / 0.57 GB, free: 9.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3004, allocations: 4.053 MB / 0.5739 GB, free: 5.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.519, allocations: 7.5 kB / 0.5739 GB, free: 5.023 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.025486728001852]