Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001474/0.001474, 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.001627/0.001627, allocations: 220.9 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.322/1.322, allocations: 230.2 MB / 256.2 MB, free: 8.75 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.1988/0.1988, allocations: 46.89 MB / 359.3 MB, free: 4.988 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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",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.002159/0.002159, allocations: 84.05 kB / 0.4941 GB, free: 9.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2656, allocations: 65.98 MB / 0.5585 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002616/0.2682, allocations: 1.694 MB / 0.5601 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2697, allocations: 1.022 MB / 0.5611 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.2698, allocations: 7.938 kB / 0.5611 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2701, allocations: 79.77 kB / 0.5612 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.2703, allocations: 115.5 kB / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2705, allocations: 79.72 kB / 0.5614 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.2706, allocations: 115.6 kB / 0.5615 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.2707, allocations: 4.234 kB / 0.5615 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.2708, allocations: 51.77 kB / 0.5616 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2709, allocations: 59.75 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.2709, allocations: 4 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.271, allocations: 31.98 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.271, allocations: 27.91 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.2711, allocations: 31.75 kB / 0.5617 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2713, allocations: 117.3 kB / 0.5618 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2713, allocations: 4 kB / 0.5618 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2713, allocations: 0 / 0.5618 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2713, allocations: 0 / 0.5618 GB, free: 1.742 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005053/0.2718, allocations: 422.6 kB / 0.5622 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2718, allocations: 8.031 kB / 0.5622 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.2718, allocations: 38.75 kB / 0.5623 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.2719, allocations: 16.84 kB / 0.5623 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.2721, allocations: 212.1 kB / 0.5625 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2721, allocations: 4.312 kB / 0.5625 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.2721, allocations: 11.94 kB / 0.5625 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2723, allocations: 53.61 kB / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2723, allocations: 0 / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2723, allocations: 0 / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2723, allocations: 0 / 0.5626 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.2724, allocations: 19.98 kB / 0.5626 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2725, allocations: 181.7 kB / 0.5628 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2727, allocations: 58.55 kB / 0.5628 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.2728, allocations: 16.86 kB / 0.5628 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2728, allocations: 3.938 kB / 0.5628 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.2729, allocations: 63.39 kB / 0.5629 GB, free: 492 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.2729, allocations: 0 / 0.5629 GB, free: 492 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002597/0.2732, allocations: 101.6 kB / 0.563 GB, free: 384 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2732, allocations: 55.41 kB / 0.563 GB, free: 316 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2734, allocations: 220.3 kB / 0.5633 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2734, allocations: 33.62 kB / 0.5633 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.2735, allocations: 100.1 kB / 0.5634 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.2735, allocations: 15.94 kB / 0.5634 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.2736, allocations: 17.72 kB / 0.5634 GB, free: 15.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2737, allocations: 322.8 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.2737, allocations: 19.98 kB / 0.5637 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.2738, allocations: 29.66 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.002e-05/0.2739, allocations: 41.7 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2739, allocations: 3.938 kB / 0.5638 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001529/0.274, allocations: 89.53 kB / 0.5639 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2741, allocations: 4 kB / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2741, allocations: 320 / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2741, allocations: 4.031 kB / 0.5639 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.2741, allocations: 15.98 kB / 0.5639 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2741, allocations: 4 kB / 0.5639 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.2742, allocations: 3.938 kB / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2742, allocations: 4 kB / 0.5639 GB, free: 15.34 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 (7): * Single equations (assignments): 7 * 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.0001026/0.2743, allocations: 133.7 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.2743, allocations: 11.91 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.2745, allocations: 90.67 kB / 0.5642 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2745, allocations: 11.97 kB / 0.5642 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2745, allocations: 4 kB / 0.5642 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2745, allocations: 0 / 0.5642 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.2747, allocations: 185.6 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2747, allocations: 0 / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.2747, allocations: 7.984 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2747, allocations: 3.938 kB / 0.5644 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2747, allocations: 0 / 0.5644 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2747, allocations: 7.938 kB / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2747, allocations: 0 / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2749, allocations: 117 kB / 0.5645 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.2749, allocations: 89.02 kB / 0.5646 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2749, allocations: 0 / 0.5646 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.275, allocations: 4 kB / 0.5646 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.275, allocations: 3.984 kB / 0.5646 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.275, allocations: 4 kB / 0.5646 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2751, allocations: 165.2 kB / 0.5647 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2751, allocations: 4 kB / 0.5647 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.2753, allocations: 23.92 kB / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001687/0.277, allocations: 0.9512 MB / 0.5657 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2772, allocations: 31.98 kB / 0.5657 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2772, allocations: 12.06 kB / 0.5657 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.2772, allocations: 11.94 kB / 0.5657 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2775, allocations: 39.22 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.279, allocations: 1.569 MB / 0.5673 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.2793, allocations: 0.708 MB / 0.568 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.2794, allocations: 20.55 kB / 0.568 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.2794, allocations: 31.42 kB / 0.5681 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2794, allocations: 0 / 0.5681 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3029, allocations: 3.282 MB / 0.5713 GB, free: 7.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.301, allocations: 6.703 kB / 0.5713 GB, free: 7.754 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.88600210599543]