Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01016/0.01016, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.747/1.747, allocations: 170.8 MB / 186.6 MB, free: 1.102 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002183/0.002183, allocations: 104.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4691/0.4691, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006659, allocations: 16 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.111, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5073, allocations: 72.89 MB / 484.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5076, allocations: 66.53 kB / 484.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00351/0.5111, allocations: 0.9087 MB / 485.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5112, allocations: 0 / 485.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.5112, allocations: 1.5 kB / 485.6 MB, free: 13.99 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002553/0.5115, allocations: 341.1 kB / 485.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5115, allocations: 12.03 kB / 485.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.5116, allocations: 34.38 kB / 485.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.5116, allocations: 11.89 kB / 485.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.144e-05/0.5117, allocations: 166.3 kB / 486.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.5117, allocations: 3.875 kB / 486.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.5117, allocations: 4 kB / 486.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5119, allocations: 54.81 kB / 486.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5119, allocations: 7.391 kB / 486.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5119, allocations: 4.734 kB / 486.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.512, allocations: 0 / 486.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.5121, allocations: 52.95 kB / 486.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.5123, allocations: 165.3 kB / 486.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.5124, allocations: 81.41 kB / 486.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.5128, allocations: 250.5 kB / 486.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.5128, allocations: 30.56 kB / 486.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.5128, allocations: 8 kB / 486.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002622/0.5131, allocations: 99.8 kB / 486.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.5131, allocations: 51.41 kB / 486.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.5132, allocations: 92.25 kB / 487 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5132, allocations: 25.7 kB / 487 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.5133, allocations: 80.14 kB / 487.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.5133, allocations: 39.19 kB / 487.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-06/0.5133, allocations: 0.5 kB / 487.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.5134, allocations: 321 kB / 487.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.5135, allocations: 18 kB / 487.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.5135, allocations: 14.98 kB / 487.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.5136, allocations: 24.19 kB / 487.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5136, allocations: 0 / 487.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001552/0.5138, allocations: 80.27 kB / 487.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5138, allocations: 4 kB / 487.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5138, allocations: 0.6562 kB / 487.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5138, allocations: 3.938 kB / 487.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.514, allocations: 23.61 kB / 487.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.514, allocations: 4 kB / 487.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.514, allocations: 3.906 kB / 487.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.5141, allocations: 4 kB / 487.6 MB, free: 11.78 MB / 330.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.5141, allocations: 109.9 kB / 487.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.5142, allocations: 8.609 kB / 487.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.5144, allocations: 107.2 kB / 487.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5144, allocations: 3.984 kB / 487.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5144, allocations: 7.938 kB / 487.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5144, allocations: 4 kB / 487.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.5146, allocations: 164.3 kB / 488 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5146, allocations: 3.125 kB / 488 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.5147, allocations: 23.92 kB / 488 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5147, allocations: 0 / 488 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5147, allocations: 3.953 kB / 488 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5148, allocations: 0 / 488 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5148, allocations: 0 / 488 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.5149, allocations: 113.1 kB / 488.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.515, allocations: 85 kB / 488.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.515, allocations: 0 / 488.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.515, allocations: 11.83 kB / 488.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.5151, allocations: 0 / 488.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.5151, allocations: 4 kB / 488.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.244e-05/0.5151, allocations: 79.27 kB / 488.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5151, allocations: 0 / 488.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000251/0.5154, allocations: 23.56 kB / 488.4 MB, free: 11.01 MB / 330.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.5158, allocations: 0.6535 MB / 489 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.516, allocations: 57.95 kB / 489.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.516, allocations: 0 / 489.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.5161, allocations: 31.11 kB / 489.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.5162, allocations: 11.89 kB / 489.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.5167, allocations: 190.4 kB / 489.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.5168, allocations: 0.6809 MB / 490 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.5169, allocations: 4 kB / 490 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.5169, allocations: 18.42 kB / 490 MB, free: 9.328 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5169, allocations: 4 kB / 490 MB, free: 9.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.5351, allocations: 1.316 MB / 491.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.5354, allocations: 186.2 kB / 491.5 MB, free: 7.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.925, allocations: 7.938 kB / 491.5 MB, free: 7.859 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat