Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.001185/0.001185, 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.001276/0.001276, allocations: 215.2 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.265/1.265, allocations: 230.2 MB / 256.2 MB, free: 8.578 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.1976/0.1976, allocations: 46.89 MB / 359.3 MB, free: 4.938 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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",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.002081/0.002081, allocations: 83.86 kB / 0.4941 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2516, allocations: 65.99 MB / 0.5585 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002992/0.2546, allocations: 1.932 MB / 0.5604 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2564, allocations: 1.151 MB / 0.5615 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.2564, allocations: 4 kB / 0.5615 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.2569, allocations: 231.3 kB / 0.5617 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.2573, allocations: 211.2 kB / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2575, allocations: 119.6 kB / 0.5621 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.2578, allocations: 251.3 kB / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2579, allocations: 31.44 kB / 0.5623 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.2581, allocations: 123.6 kB / 0.5625 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.2583, allocations: 171.4 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.2583, allocations: 8 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2584, allocations: 63.98 kB / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.2585, allocations: 67.69 kB / 0.5627 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.2586, allocations: 83.3 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.2589, allocations: 246.8 kB / 0.5631 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2589, allocations: 0 / 0.5631 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2589, allocations: 0 / 0.5631 GB, free: 488 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2589, allocations: 0 / 0.5631 GB, free: 488 kB / 398.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.0007071/0.2596, allocations: 0.5857 MB / 0.5636 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2596, allocations: 8.031 kB / 0.5636 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.2597, allocations: 42.73 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.2597, allocations: 28.75 kB / 0.5637 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.2601, allocations: 292.3 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2601, allocations: 12.31 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.2601, allocations: 7.938 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.2603, allocations: 111.3 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2603, allocations: 0 / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2604, allocations: 4 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2604, allocations: 0 / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2605, allocations: 47.95 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.261, allocations: 480.7 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.2613, allocations: 121.2 kB / 0.5647 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.2614, allocations: 37.83 kB / 0.5648 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2615, allocations: 4 kB / 0.5648 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.2617, allocations: 124.8 kB / 0.5649 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2617, allocations: 0 / 0.5649 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00121/0.2629, allocations: 0.5054 MB / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2629, allocations: 81.11 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.2634, allocations: 452.4 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2634, allocations: 37.64 kB / 0.5659 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2635, allocations: 160.5 kB / 0.5661 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.2636, allocations: 71.42 kB / 0.5662 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.2636, allocations: 37.72 kB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2638, allocations: 346.8 kB / 0.5665 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.2639, allocations: 59.97 kB / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.264, allocations: 99.28 kB / 0.5667 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2643, allocations: 163.4 kB / 0.5668 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2643, allocations: 0 / 0.5668 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003798/0.2647, allocations: 237.3 kB / 0.5671 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2647, allocations: 4 kB / 0.5671 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2647, allocations: 4 kB / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2647, allocations: 0 / 0.5671 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2648, allocations: 51.91 kB / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2648, allocations: 0 / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.2649, allocations: 11.95 kB / 0.5671 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2649, allocations: 8 kB / 0.5671 GB, free: 12.01 MB / 414.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 0.0001499/0.2651, allocations: 165.8 kB / 0.5673 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2651, allocations: 39.78 kB / 0.5673 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.2656, allocations: 260.3 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2656, allocations: 4 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2656, allocations: 0 / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2656, allocations: 0 / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.2665, allocations: 0.735 MB / 0.5683 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2665, allocations: 4 kB / 0.5683 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.2666, allocations: 31.92 kB / 0.5683 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2666, allocations: 0 / 0.5683 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2666, allocations: 11.98 kB / 0.5683 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2666, allocations: 4 kB / 0.5684 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2666, allocations: 8.172 kB / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.2671, allocations: 429.7 kB / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.2671, allocations: 104.9 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.2672, allocations: 11.98 kB / 0.5689 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2673, allocations: 8 kB / 0.5689 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.2673, allocations: 27.91 kB / 0.5689 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.2674, allocations: 15.94 kB / 0.5689 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.2677, allocations: 331 kB / 0.5692 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2677, allocations: 0 / 0.5692 GB, free: 9.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000328/0.268, allocations: 47.94 kB / 0.5693 GB, free: 9.672 MB / 414.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.002381/0.2704, allocations: 1.36 MB / 0.5706 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.2707, allocations: 163.6 kB / 0.5708 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2707, allocations: 0 / 0.5708 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2708, allocations: 71.84 kB / 0.5708 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2713, allocations: 58.91 kB / 0.5709 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.2745, allocations: 2.901 MB / 0.5737 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2749, allocations: 0.7774 MB / 0.5745 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.877e-05/0.275, allocations: 41.91 kB / 0.5745 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2751, allocations: 99.39 kB / 0.5746 GB, free: 4.211 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2751, allocations: 4 kB / 0.5746 GB, free: 4.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.303, allocations: 6.467 MB / 0.5809 GB, free: 13.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.661, allocations: 4 kB / 0.5809 GB, free: 13.76 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.160368275013752]