Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2285/0.2285, allocations: 46.11 MB / 344.4 MB, free: 11.48 MB / 286.1 MB 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.002212/0.002212, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3193, allocations: 62.45 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003178/0.3225, allocations: 1.691 MB / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3236, allocations: 0.5804 MB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.3237, allocations: 1.375 kB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.324, allocations: 59.16 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.3243, allocations: 89.98 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.3248, allocations: 186.5 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3249, allocations: 89.5 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.325, allocations: 23.81 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.3251, allocations: 39.75 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3252, allocations: 50.06 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3253, allocations: 3.656 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3254, allocations: 56.45 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.3254, allocations: 25.59 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.3255, allocations: 38.44 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3257, allocations: 120.2 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3257, allocations: 1.375 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3257, allocations: 4 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3257, allocations: 0 / 0.5336 GB, free: 11.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005765/0.3263, allocations: 428.4 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3264, allocations: 9.562 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.866e-05/0.3265, allocations: 41.05 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.3265, allocations: 13.75 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3267, allocations: 205.7 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3267, allocations: 6.219 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3268, allocations: 7.125 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3269, allocations: 73.66 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.327, allocations: 7.938 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.327, allocations: 0 / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.327, allocations: 1.031 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3271, allocations: 41.25 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.3276, allocations: 329.6 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.3279, allocations: 60.36 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.328, allocations: 30.53 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.328, allocations: 1.156 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.328, allocations: 31.62 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.328, allocations: 4 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001472/0.3295, allocations: 430.6 kB / 0.5353 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3296, allocations: 56.72 kB / 0.5353 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3298, allocations: 191.8 kB / 0.5355 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3298, allocations: 27.08 kB / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.3299, allocations: 112.9 kB / 0.5356 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3299, allocations: 45.16 kB / 0.5357 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.33, allocations: 25.47 kB / 0.5357 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3301, allocations: 327.3 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3303, allocations: 52 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3304, allocations: 53.2 kB / 0.5361 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3307, allocations: 132.7 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3307, allocations: 0 / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003626/0.3311, allocations: 168.4 kB / 0.5364 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3311, allocations: 5.656 kB / 0.5364 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3311, allocations: 3.938 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3312, allocations: 9.188 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3313, allocations: 24.08 kB / 0.5364 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3313, allocations: 1.125 kB / 0.5364 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.3314, allocations: 9.797 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3314, allocations: 3.5 kB / 0.5364 GB, free: 8.754 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001071/0.3315, allocations: 128 kB / 0.5366 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.3315, allocations: 13.47 kB / 0.5366 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.332, allocations: 199.4 kB / 0.5368 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.332, allocations: 6.219 kB / 0.5368 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.332, allocations: 3.938 kB / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.332, allocations: 0 / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.3328, allocations: 0.5027 MB / 0.5373 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3328, allocations: 1.062 kB / 0.5373 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3329, allocations: 23.92 kB / 0.5373 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3329, allocations: 1.125 kB / 0.5373 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3329, allocations: 2.688 kB / 0.5373 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3329, allocations: 4.922 kB / 0.5373 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3329, allocations: 1.094 kB / 0.5373 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.3334, allocations: 285.9 kB / 0.5376 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.3335, allocations: 84.56 kB / 0.5377 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3335, allocations: 1.125 kB / 0.5377 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3336, allocations: 18.73 kB / 0.5377 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3336, allocations: 9.234 kB / 0.5377 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.3337, allocations: 7.656 kB / 0.5377 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3338, allocations: 155.5 kB / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3338, allocations: 0 / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3341, allocations: 26.88 kB / 0.5379 GB, free: 7.562 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002324/0.3364, allocations: 1.162 MB / 0.539 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.3368, allocations: 128.2 kB / 0.5391 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3368, allocations: 1.125 kB / 0.5391 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.337, allocations: 71.27 kB / 0.5392 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3373, allocations: 24.23 kB / 0.5392 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.34, allocations: 1.914 MB / 0.5411 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3405, allocations: 0.7164 MB / 0.5418 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3406, allocations: 34.98 kB / 0.5418 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.3407, allocations: 44.09 kB / 0.5419 GB, free: 4.223 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3407, allocations: 0 / 0.5419 GB, free: 4.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.3672, allocations: 3.512 MB / 0.5453 GB, free: 2.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.541, allocations: 7.031 kB / 0.5453 GB, free: 2.336 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1)