Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.001435/0.001435, 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.001656/0.001656, allocations: 218.4 kB / 22.92 MB, free: 5.535 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.29/1.29, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.1947/0.1947, allocations: 46.89 MB / 359.3 MB, free: 4.965 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.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",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.002138/0.002138, allocations: 79.86 kB / 0.4941 GB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2639, allocations: 65.99 MB / 0.5585 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002745/0.2666, allocations: 1.733 MB / 0.5602 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2689, allocations: 1.719 MB / 0.5619 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.2689, allocations: 0 / 0.5619 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.2691, allocations: 31.78 kB / 0.5619 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.2694, allocations: 99.53 kB / 0.562 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.2696, allocations: 79.66 kB / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.2697, allocations: 111.7 kB / 0.5622 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.2698, allocations: 9.828 kB / 0.5622 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.2699, allocations: 47.78 kB / 0.5622 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2701, allocations: 43.83 kB / 0.5623 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2701, allocations: 8 kB / 0.5623 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.2703, allocations: 111.9 kB / 0.5624 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.2703, allocations: 19.92 kB / 0.5624 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.2704, allocations: 35.8 kB / 0.5624 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.2706, allocations: 163.3 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2706, allocations: 0 / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2706, allocations: 7.938 kB / 0.5626 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2706, allocations: 0 / 0.5626 GB, free: 0.9531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005247/0.2711, allocations: 430.6 kB / 0.563 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.2712, allocations: 12.03 kB / 0.563 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.2712, allocations: 30.75 kB / 0.5631 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.2712, allocations: 16.84 kB / 0.5631 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.2715, allocations: 215.5 kB / 0.5633 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2715, allocations: 4 kB / 0.5633 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2715, allocations: 7.938 kB / 0.5633 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2717, allocations: 71.38 kB / 0.5634 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2717, allocations: 4 kB / 0.5634 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2717, allocations: 3.938 kB / 0.5634 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2717, allocations: 3.938 kB / 0.5634 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.2718, allocations: 19.98 kB / 0.5634 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.2721, allocations: 280.9 kB / 0.5637 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2723, allocations: 62.61 kB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.2723, allocations: 16.86 kB / 0.5637 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2723, allocations: 4 kB / 0.5637 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.2725, allocations: 67.38 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2725, allocations: 0 / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004857/0.273, allocations: 173.3 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.273, allocations: 93.03 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2732, allocations: 163.2 kB / 0.5642 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2732, allocations: 29.69 kB / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2733, allocations: 96.14 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2733, allocations: 31.73 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.2733, allocations: 25.66 kB / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2735, allocations: 322.8 kB / 0.5647 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.2735, allocations: 19.98 kB / 0.5647 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.2736, allocations: 46.56 kB / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.2737, allocations: 49.72 kB / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2737, allocations: 0 / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.2739, allocations: 109.5 kB / 0.5649 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2739, allocations: 4 kB / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2739, allocations: 0 / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2739, allocations: 12.05 kB / 0.5649 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.274, allocations: 19.92 kB / 0.5649 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.274, allocations: 4.469 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.274, allocations: 4 kB / 0.565 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.274, allocations: 7.984 kB / 0.565 GB, free: 14.29 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 (10): * Single equations (assignments): 10 * 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 8.599e-05/0.2741, allocations: 117.8 kB / 0.5651 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2742, allocations: 15.94 kB / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.2744, allocations: 106.4 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2744, allocations: 11.94 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2744, allocations: 0 / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2744, allocations: 3.984 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.2748, allocations: 399.2 kB / 0.5656 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2748, allocations: 3.938 kB / 0.5656 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.2749, allocations: 12.12 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2749, allocations: 0 / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2749, allocations: 7.938 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2749, allocations: 0 / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2749, allocations: 4.031 kB / 0.5656 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.2751, allocations: 200.3 kB / 0.5658 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2751, allocations: 89 kB / 0.5659 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2752, allocations: 0 / 0.5659 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.2752, allocations: 8 kB / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.2753, allocations: 11.92 kB / 0.5659 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2753, allocations: 8 kB / 0.5659 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2754, allocations: 123.2 kB / 0.566 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2754, allocations: 0 / 0.566 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.2757, allocations: 47.86 kB / 0.5661 GB, free: 13.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002153/0.2778, allocations: 1.186 MB / 0.5672 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.278, allocations: 55.91 kB / 0.5673 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.278, allocations: 0 / 0.5673 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.2781, allocations: 31.92 kB / 0.5673 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2784, allocations: 28.11 kB / 0.5673 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.28, allocations: 1.593 MB / 0.5689 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2803, allocations: 0.7002 MB / 0.5696 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.771e-05/0.2803, allocations: 21.05 kB / 0.5696 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.2804, allocations: 39.42 kB / 0.5696 GB, free: 9.418 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2804, allocations: 3.938 kB / 0.5697 GB, free: 9.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.3055, allocations: 4.034 MB / 0.5736 GB, free: 5.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.422, allocations: 4.062 kB / 0.5736 GB, free: 5.371 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.955424748011865]