Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.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.001152/0.001152, 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.001241/0.001241, allocations: 221.2 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.289/1.289, allocations: 230.2 MB / 256.1 MB, free: 8.773 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.88 MB / 359.3 MB, free: 4.984 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.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17",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.002157/0.002157, allocations: 95.83 kB / 0.4941 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2497, allocations: 65.98 MB / 0.5585 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002839/0.2525, allocations: 1.741 MB / 0.5602 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2542, allocations: 1.045 MB / 0.5612 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.2542, allocations: 0 / 0.5612 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.2545, allocations: 43.75 kB / 0.5613 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.2548, allocations: 95.55 kB / 0.5614 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.255, allocations: 79.67 kB / 0.5614 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.2551, allocations: 107.7 kB / 0.5615 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.2552, allocations: 9.766 kB / 0.5615 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.2553, allocations: 39.84 kB / 0.5616 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.2554, allocations: 35.78 kB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.2554, allocations: 4 kB / 0.5616 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.2555, allocations: 39.98 kB / 0.5617 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.2555, allocations: 23.86 kB / 0.5617 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.2556, allocations: 35.73 kB / 0.5617 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2558, allocations: 119.5 kB / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2558, allocations: 0 / 0.5618 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2558, allocations: 4 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2558, allocations: 4 kB / 0.5618 GB, free: 1.754 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.0005122/0.2563, allocations: 418.7 kB / 0.5622 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2563, allocations: 8.031 kB / 0.5622 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.2564, allocations: 34.75 kB / 0.5623 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2564, allocations: 20.78 kB / 0.5623 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.2566, allocations: 208.1 kB / 0.5625 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2567, allocations: 384 / 0.5625 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.2567, allocations: 15.94 kB / 0.5625 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.2568, allocations: 49.67 kB / 0.5626 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2568, allocations: 0 / 0.5626 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2568, allocations: 4 kB / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2568, allocations: 0 / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/0.2569, allocations: 19.98 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.2572, allocations: 284.8 kB / 0.5628 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2574, allocations: 54.67 kB / 0.5629 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.2575, allocations: 20.84 kB / 0.5629 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2575, allocations: 4 kB / 0.5629 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.2576, allocations: 67.33 kB / 0.563 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2576, allocations: 0 / 0.563 GB, free: 404 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004908/0.2581, allocations: 185.3 kB / 0.5632 GB, free: 212 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.2581, allocations: 59.39 kB / 0.5632 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.2583, allocations: 179.2 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2583, allocations: 29.7 kB / 0.5634 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.2584, allocations: 104.1 kB / 0.5635 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2584, allocations: 23.84 kB / 0.5635 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.2585, allocations: 17.72 kB / 0.5636 GB, free: 15.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2586, allocations: 322.8 kB / 0.5639 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.2586, allocations: 27.98 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2587, allocations: 33.7 kB / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2588, allocations: 61.72 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2588, allocations: 0 / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.259, allocations: 105.6 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.259, allocations: 4 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.259, allocations: 8.109 kB / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.259, allocations: 0 / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.2591, allocations: 20.3 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2591, allocations: 3.984 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.2592, allocations: 15.94 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2592, allocations: 7.938 kB / 0.5641 GB, free: 15.14 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 9.091e-05/0.2593, allocations: 121.8 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2593, allocations: 11.94 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.2595, allocations: 123 kB / 0.5644 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2595, allocations: 0 / 0.5644 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2595, allocations: 4 kB / 0.5644 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2595, allocations: 7.922 kB / 0.5644 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.2599, allocations: 387.3 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2599, allocations: 0 / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.26, allocations: 8 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.26, allocations: 7.938 kB / 0.5648 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.26, allocations: 4.031 kB / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.26, allocations: 3.984 kB / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.26, allocations: 0 / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2602, allocations: 196.3 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.2602, allocations: 89.2 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.2603, allocations: 7.938 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.2603, allocations: 7.938 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2604, allocations: 15.92 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2604, allocations: 4 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.2605, allocations: 141.6 kB / 0.5652 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2605, allocations: 0 / 0.5652 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.2607, allocations: 20 kB / 0.5653 GB, free: 13.88 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.001934/0.2627, allocations: 1.094 MB / 0.5663 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2628, allocations: 59.92 kB / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2628, allocations: 0 / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.2629, allocations: 27.92 kB / 0.5664 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2632, allocations: 30.03 kB / 0.5664 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.2649, allocations: 1.634 MB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.2652, allocations: 0.708 MB / 0.5687 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.986e-05/0.2653, allocations: 21.17 kB / 0.5687 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.2653, allocations: 35.42 kB / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2653, allocations: 0 / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.2883, allocations: 3.415 MB / 0.5721 GB, free: 6.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.31, allocations: 13.31 kB / 0.5721 GB, free: 6.891 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.811168617001385]