Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.001169/0.001169, 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.001256/0.001256, allocations: 217.6 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.274/1.274, allocations: 230.2 MB / 256.1 MB, free: 8.77 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.1956/0.1956, allocations: 46.89 MB / 359.3 MB, free: 4.996 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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",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.00213/0.00213, allocations: 87.84 kB / 0.494 GB, free: 9.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2615, allocations: 65.97 MB / 0.5585 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002835/0.2643, allocations: 1.846 MB / 0.5603 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.266, allocations: 1.116 MB / 0.5614 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.2661, allocations: 7.938 kB / 0.5614 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.2665, allocations: 307.3 kB / 0.5617 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.2669, allocations: 255.2 kB / 0.5619 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2672, allocations: 107.6 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.2675, allocations: 263.3 kB / 0.5623 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.2675, allocations: 9.688 kB / 0.5623 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.2677, allocations: 135.5 kB / 0.5624 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.2679, allocations: 211.5 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.2679, allocations: 12 kB / 0.5626 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.268, allocations: 51.97 kB / 0.5627 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.2682, allocations: 143.5 kB / 0.5628 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.2683, allocations: 150.8 kB / 0.5629 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.2687, allocations: 372 kB / 0.5633 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2687, allocations: 4 kB / 0.5633 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2687, allocations: 0 / 0.5633 GB, free: 248 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.2687, allocations: 0 / 0.5633 GB, free: 248 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009053/0.2696, allocations: 0.7657 MB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2697, allocations: 12.03 kB / 0.5641 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.2697, allocations: 34.75 kB / 0.5641 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.2698, allocations: 52.61 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.2703, allocations: 456.3 kB / 0.5646 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2703, allocations: 8.375 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2703, allocations: 7.875 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.2705, allocations: 91.3 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2705, allocations: 4 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2705, allocations: 4 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2705, allocations: 0 / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2707, allocations: 31.97 kB / 0.5647 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.271, allocations: 378.3 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2713, allocations: 109.1 kB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.2714, allocations: 45.62 kB / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.2714, allocations: 0 / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.2716, allocations: 113 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.2716, allocations: 0 / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004573/0.2721, allocations: 197.2 kB / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.2721, allocations: 81.09 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2732, allocations: 1.05 MB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.2732, allocations: 33.7 kB / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.2734, allocations: 232.1 kB / 0.5669 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.2734, allocations: 39.73 kB / 0.5669 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.2735, allocations: 25.72 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2736, allocations: 370.8 kB / 0.5673 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.2737, allocations: 31.98 kB / 0.5673 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2738, allocations: 58.67 kB / 0.5674 GB, free: 11.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.274, allocations: 95.34 kB / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.274, allocations: 3.938 kB / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002855/0.2743, allocations: 173.7 kB / 0.5676 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2743, allocations: 8 kB / 0.5676 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2743, allocations: 0 / 0.5676 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2743, allocations: 3.984 kB / 0.5676 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2744, allocations: 28.05 kB / 0.5677 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2744, allocations: 0 / 0.5677 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.195e-05/0.2745, allocations: 15.92 kB / 0.5677 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.2745, allocations: 4 kB / 0.5677 GB, free: 11.43 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002071/0.2747, allocations: 222.5 kB / 0.5679 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.2748, allocations: 63.61 kB / 0.568 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.2752, allocations: 193.7 kB / 0.5682 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2752, allocations: 8 kB / 0.5682 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2752, allocations: 3.938 kB / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2752, allocations: 0 / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.2755, allocations: 353.4 kB / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2755, allocations: 0 / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.2755, allocations: 8 kB / 0.5685 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2755, allocations: 7.984 kB / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2755, allocations: 0 / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2756, allocations: 0 / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2756, allocations: 7.938 kB / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.2759, allocations: 217.5 kB / 0.5687 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.276, allocations: 140.7 kB / 0.5689 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.2761, allocations: 11.98 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.2761, allocations: 4.188 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2762, allocations: 7.984 kB / 0.5689 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2762, allocations: 12 kB / 0.5689 GB, free: 10.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007758/0.277, allocations: 0.7839 MB / 0.5697 GB, free: 9.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.277, allocations: 4 kB / 0.5697 GB, free: 9.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.2772, allocations: 43.94 kB / 0.5697 GB, free: 9.262 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001883/0.2791, allocations: 1.058 MB / 0.5707 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2793, allocations: 83.89 kB / 0.5708 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2793, allocations: 0 / 0.5708 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2794, allocations: 40.3 kB / 0.5709 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2798, allocations: 72.64 kB / 0.5709 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.285, allocations: 4.578 MB / 0.5754 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2854, allocations: 0.8547 MB / 0.5762 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.2855, allocations: 54.94 kB / 0.5763 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2857, allocations: 155.4 kB / 0.5764 GB, free: 2.359 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2857, allocations: 4 kB / 0.5764 GB, free: 2.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.3167, allocations: 9.181 MB / 0.5854 GB, free: 9.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.997, allocations: 3.438 kB / 0.5854 GB, free: 9.191 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.513899589001085]