Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.001374/0.001374, allocations: 105.7 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.001514/0.001514, allocations: 214.7 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.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.59 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.1999/0.1999, allocations: 46.89 MB / 359.3 MB, free: 4.934 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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",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.002099/0.002099, allocations: 87.86 kB / 0.4941 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.27, allocations: 65.96 MB / 0.5585 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002357/0.2723, allocations: 1.939 MB / 0.5604 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2735, allocations: 1.152 MB / 0.5615 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.2736, allocations: 3.219 kB / 0.5615 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.274, allocations: 260.3 kB / 0.5618 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.2743, allocations: 231 kB / 0.562 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.2745, allocations: 115.7 kB / 0.5621 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.2747, allocations: 274.9 kB / 0.5624 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.2748, allocations: 20.64 kB / 0.5624 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2749, allocations: 135.4 kB / 0.5625 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2751, allocations: 211.3 kB / 0.5627 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2751, allocations: 8.969 kB / 0.5627 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2752, allocations: 62.31 kB / 0.5628 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.2753, allocations: 72.8 kB / 0.5628 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.2753, allocations: 89.83 kB / 0.5629 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2755, allocations: 258.9 kB / 0.5632 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2755, allocations: 2.281 kB / 0.5632 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2755, allocations: 0 / 0.5632 GB, free: 31.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2755, allocations: 0 / 0.5632 GB, free: 31.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005132/0.2761, allocations: 0.6008 MB / 0.5638 GB, free: 30.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.2761, allocations: 11.06 kB / 0.5638 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.2761, allocations: 41.75 kB / 0.5638 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.2762, allocations: 31.75 kB / 0.5639 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2764, allocations: 297.5 kB / 0.5641 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2764, allocations: 7.594 kB / 0.5641 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.2764, allocations: 11 kB / 0.5642 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2766, allocations: 114.5 kB / 0.5643 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2766, allocations: 0 / 0.5643 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2766, allocations: 6.141 kB / 0.5643 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2766, allocations: 0 / 0.5643 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2767, allocations: 46.38 kB / 0.5643 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.2771, allocations: 490.8 kB / 0.5648 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.2774, allocations: 113.4 kB / 0.5649 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.2775, allocations: 46.41 kB / 0.5649 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.2775, allocations: 5.016 kB / 0.5649 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.2777, allocations: 124.3 kB / 0.5651 GB, free: 29.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.2777, allocations: 0 / 0.5651 GB, free: 29.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001008/0.2787, allocations: 0.5214 MB / 0.5656 GB, free: 29.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.2787, allocations: 80.14 kB / 0.5656 GB, free: 29.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2791, allocations: 0.4962 MB / 0.5661 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2791, allocations: 32.92 kB / 0.5662 GB, free: 28.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.2791, allocations: 170.1 kB / 0.5663 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.2792, allocations: 71.12 kB / 0.5664 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.2792, allocations: 47.61 kB / 0.5664 GB, free: 28.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.2793, allocations: 345.7 kB / 0.5668 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.2794, allocations: 56.8 kB / 0.5668 GB, free: 28.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2795, allocations: 93.3 kB / 0.5669 GB, free: 28.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2797, allocations: 159.2 kB / 0.5671 GB, free: 28.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2797, allocations: 3.219 kB / 0.5671 GB, free: 28.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002944/0.28, allocations: 244.6 kB / 0.5673 GB, free: 28.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.28, allocations: 6.5 kB / 0.5673 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.28, allocations: 0 / 0.5673 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.28, allocations: 6.594 kB / 0.5673 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2801, allocations: 44.09 kB / 0.5673 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2801, allocations: 7 kB / 0.5674 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.2802, allocations: 6.906 kB / 0.5674 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2802, allocations: 12.09 kB / 0.5674 GB, free: 28.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.825e-05/0.2803, allocations: 172.2 kB / 0.5675 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2803, allocations: 39.05 kB / 0.5676 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.2807, allocations: 270.1 kB / 0.5678 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2807, allocations: 7.125 kB / 0.5678 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2807, allocations: 0 / 0.5678 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2807, allocations: 6.188 kB / 0.5678 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.2813, allocations: 0.7407 MB / 0.5686 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2813, allocations: 1.062 kB / 0.5686 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.2814, allocations: 31.98 kB / 0.5686 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2814, allocations: 2.281 kB / 0.5686 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2814, allocations: 11.19 kB / 0.5686 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2814, allocations: 2.906 kB / 0.5686 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2814, allocations: 5.219 kB / 0.5686 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.2817, allocations: 432 kB / 0.569 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.2818, allocations: 102.1 kB / 0.5691 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2818, allocations: 7.594 kB / 0.5691 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.282, allocations: 11.62 kB / 0.5691 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.282, allocations: 22.64 kB / 0.5692 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.282, allocations: 12.97 kB / 0.5692 GB, free: 26.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.2823, allocations: 370.4 kB / 0.5695 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2823, allocations: 0.5 kB / 0.5695 GB, free: 26.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.2827, allocations: 51.91 kB / 0.5696 GB, free: 26.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002118/0.2848, allocations: 1.367 MB / 0.5709 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.285, allocations: 158 kB / 0.5711 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.285, allocations: 0 / 0.5711 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.2852, allocations: 72.45 kB / 0.5711 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.2856, allocations: 75.45 kB / 0.5712 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.2881, allocations: 3.008 MB / 0.5741 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2883, allocations: 0.7805 MB / 0.5749 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.146e-05/0.2884, allocations: 43.12 kB / 0.575 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2885, allocations: 106.9 kB / 0.5751 GB, free: 22.84 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2885, allocations: 0 / 0.5751 GB, free: 22.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.315, allocations: 6.695 MB / 0.5816 GB, free: 21.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.614, allocations: 1.125 kB / 0.5816 GB, free: 21.75 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.212158875001478]