Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001424/0.001424, 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.001576/0.001576, allocations: 218.4 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.287/1.287, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.1999/0.1999, allocations: 46.9 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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",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.002103/0.002103, allocations: 83.86 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2584, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002868/0.2613, allocations: 1.605 MB / 0.56 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.2629, allocations: 1.228 MB / 0.5612 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.263, allocations: 3.938 kB / 0.5612 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.2632, allocations: 31.84 kB / 0.5612 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.2634, allocations: 83.61 kB / 0.5613 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.2636, allocations: 90.95 kB / 0.5614 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2638, allocations: 67.83 kB / 0.5615 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.2639, allocations: 13.81 kB / 0.5615 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.2639, allocations: 19.92 kB / 0.5615 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2641, allocations: 39.78 kB / 0.5615 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2641, allocations: 4 kB / 0.5615 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.2643, allocations: 95.92 kB / 0.5616 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.2643, allocations: 15.94 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.2643, allocations: 27.86 kB / 0.5617 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.2646, allocations: 143.4 kB / 0.5618 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2646, allocations: 4 kB / 0.5618 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2646, allocations: 0 / 0.5618 GB, free: 1.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2646, allocations: 0 / 0.5618 GB, free: 1.719 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004713/0.2651, allocations: 398.8 kB / 0.5622 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2651, allocations: 11.97 kB / 0.5622 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.2651, allocations: 34.75 kB / 0.5622 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2652, allocations: 8.891 kB / 0.5623 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.2653, allocations: 203.2 kB / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.2654, allocations: 384 / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2654, allocations: 8.312 kB / 0.5625 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2655, allocations: 67.33 kB / 0.5625 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2655, allocations: 0 / 0.5625 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.2655, allocations: 4 kB / 0.5625 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2655, allocations: 0 / 0.5625 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.2656, allocations: 19.98 kB / 0.5625 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.2659, allocations: 288.8 kB / 0.5628 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2661, allocations: 38.56 kB / 0.5629 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.2662, allocations: 16.94 kB / 0.5629 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.2662, allocations: 4 kB / 0.5629 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2662, allocations: 34.56 kB / 0.5629 GB, free: 440 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2662, allocations: 0 / 0.5629 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005067/0.2667, allocations: 137.4 kB / 0.563 GB, free: 296 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2668, allocations: 77.11 kB / 0.5631 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2669, allocations: 148.3 kB / 0.5633 GB, free: 44 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2669, allocations: 25.7 kB / 0.5633 GB, free: 12 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.267, allocations: 100.1 kB / 0.5634 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.267, allocations: 19.86 kB / 0.5634 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2671, allocations: 21.7 kB / 0.5634 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2672, allocations: 314.8 kB / 0.5637 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.2673, allocations: 23.92 kB / 0.5637 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.2673, allocations: 33.69 kB / 0.5638 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.2675, allocations: 48.88 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2675, allocations: 192 / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.2676, allocations: 85.61 kB / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2677, allocations: 4 kB / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2677, allocations: 0 / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2677, allocations: 0 / 0.5639 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.2677, allocations: 19.92 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2677, allocations: 4 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.2678, allocations: 7.938 kB / 0.5639 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2678, allocations: 4 kB / 0.5639 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.163e-05/0.2679, allocations: 113.8 kB / 0.564 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2679, allocations: 11.94 kB / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.2681, allocations: 85.97 kB / 0.5641 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2681, allocations: 3.938 kB / 0.5641 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2681, allocations: 4 kB / 0.5641 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2681, allocations: 7.875 kB / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.2686, allocations: 346.5 kB / 0.5645 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2686, allocations: 0 / 0.5645 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.2686, allocations: 15.98 kB / 0.5645 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2686, allocations: 0 / 0.5645 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.2686, allocations: 4.219 kB / 0.5645 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2686, allocations: 0 / 0.5645 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2686, allocations: 4 kB / 0.5645 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.2688, allocations: 183.7 kB / 0.5647 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.2689, allocations: 89.05 kB / 0.5648 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2689, allocations: 7.938 kB / 0.5648 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.269, allocations: 7.984 kB / 0.5648 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.269, allocations: 4 kB / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.269, allocations: 4 kB / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.2691, allocations: 115.2 kB / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2691, allocations: 0 / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.2694, allocations: 35.88 kB / 0.5649 GB, free: 14.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001965/0.2713, allocations: 1.097 MB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.2715, allocations: 47.91 kB / 0.5661 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2715, allocations: 0 / 0.5661 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.2716, allocations: 23.98 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2719, allocations: 22.64 kB / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2735, allocations: 1.428 MB / 0.5675 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.2738, allocations: 0.6885 MB / 0.5682 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.2739, allocations: 11.78 kB / 0.5682 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.2739, allocations: 27.42 kB / 0.5682 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2739, allocations: 0 / 0.5682 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3002, allocations: 3.229 MB / 0.5714 GB, free: 7.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.335, allocations: 6.438 kB / 0.5714 GB, free: 7.613 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.848399043999962]