Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.001418/0.001418, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.00153/0.00153, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.594 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.1923/0.1923, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",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.002098/0.002098, allocations: 83.86 kB / 0.494 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, allocations: 65.98 MB / 0.5585 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002713/0.2613, allocations: 1.702 MB / 0.5601 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2628, allocations: 1.022 MB / 0.5611 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.2628, allocations: 0 / 0.5611 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.2631, allocations: 55.75 kB / 0.5612 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.2634, allocations: 95.52 kB / 0.5613 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.2635, allocations: 83.67 kB / 0.5614 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.2637, allocations: 99.69 kB / 0.5615 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.2637, allocations: 8.234 kB / 0.5615 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.2638, allocations: 43.78 kB / 0.5615 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.2639, allocations: 31.78 kB / 0.5615 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2639, allocations: 4 kB / 0.5615 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.264, allocations: 31.92 kB / 0.5616 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.264, allocations: 27.92 kB / 0.5616 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.2641, allocations: 39.67 kB / 0.5616 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2643, allocations: 125.2 kB / 0.5618 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2643, allocations: 4 kB / 0.5618 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2643, allocations: 0 / 0.5618 GB, free: 1.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2643, allocations: 0 / 0.5618 GB, free: 1.805 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.0005143/0.2648, allocations: 442.5 kB / 0.5622 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2648, allocations: 15.97 kB / 0.5622 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.2649, allocations: 38.69 kB / 0.5622 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.2649, allocations: 8.891 kB / 0.5623 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.2652, allocations: 221.1 kB / 0.5625 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2652, allocations: 384 / 0.5625 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2652, allocations: 11.94 kB / 0.5625 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.2653, allocations: 49.67 kB / 0.5625 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2653, allocations: 0 / 0.5625 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.2653, allocations: 0 / 0.5625 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2653, allocations: 4 kB / 0.5625 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.2654, allocations: 15.98 kB / 0.5625 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2656, allocations: 185.7 kB / 0.5627 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2657, allocations: 62.5 kB / 0.5628 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.2658, allocations: 16.84 kB / 0.5628 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2658, allocations: 4 kB / 0.5628 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.266, allocations: 59.39 kB / 0.5629 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.266, allocations: 0 / 0.5629 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000264/0.2662, allocations: 101.5 kB / 0.5629 GB, free: 420 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2663, allocations: 55.41 kB / 0.563 GB, free: 352 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.2665, allocations: 274.8 kB / 0.5633 GB, free: 64 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2665, allocations: 29.7 kB / 0.5633 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.2666, allocations: 112.1 kB / 0.5634 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2666, allocations: 11.91 kB / 0.5634 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.2667, allocations: 17.72 kB / 0.5634 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2668, allocations: 334.8 kB / 0.5637 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.2669, allocations: 16 kB / 0.5638 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.2669, allocations: 25.7 kB / 0.5638 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/0.267, allocations: 53.83 kB / 0.5638 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.267, allocations: 7.938 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001466/0.2672, allocations: 77.59 kB / 0.5639 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2672, allocations: 8 kB / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2672, allocations: 3.938 kB / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2672, allocations: 4.031 kB / 0.5639 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.2673, allocations: 11.98 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2673, allocations: 7.938 kB / 0.564 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.2673, allocations: 11.89 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2673, allocations: 4 kB / 0.564 GB, free: 15.3 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.000106/0.2674, allocations: 133.8 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2675, allocations: 11.91 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.2676, allocations: 98.61 kB / 0.5642 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2677, allocations: 11.97 kB / 0.5642 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2677, allocations: 0 / 0.5642 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2677, allocations: 0 / 0.5642 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2678, allocations: 201.6 kB / 0.5644 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2678, allocations: 0 / 0.5644 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.2678, allocations: 4 kB / 0.5644 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2678, allocations: 0 / 0.5644 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2678, allocations: 0 / 0.5644 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2678, allocations: 0 / 0.5644 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2678, allocations: 0 / 0.5644 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.268, allocations: 117.2 kB / 0.5645 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.2681, allocations: 89.02 kB / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2681, allocations: 8 kB / 0.5646 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.2681, allocations: 7.922 kB / 0.5646 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.2682, allocations: 4 kB / 0.5646 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2682, allocations: 4 kB / 0.5646 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2683, allocations: 200.6 kB / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2683, allocations: 4 kB / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.2685, allocations: 23.94 kB / 0.5648 GB, free: 14.3 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.001718/0.2703, allocations: 0.9564 MB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.2704, allocations: 43.92 kB / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2704, allocations: 4.062 kB / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.59e-05/0.2705, allocations: 19.98 kB / 0.5658 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.2707, allocations: 24.86 kB / 0.5659 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.2724, allocations: 1.686 MB / 0.5675 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2727, allocations: 0.7088 MB / 0.5682 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.2727, allocations: 16.55 kB / 0.5682 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.2728, allocations: 43.42 kB / 0.5683 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2728, allocations: 3.938 kB / 0.5683 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.2963, allocations: 3.507 MB / 0.5717 GB, free: 7.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.382, allocations: 144 / 0.5717 GB, free: 7.309 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.889255713002058]