Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.01416/0.01416, allocations: 164.6 kB / 15.11 MB, free: 5.93 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.806/1.806, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.002839/0.002839, allocations: 114.4 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.4452/0.4452, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.5086, allocations: 72.79 MB / 484.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.5088, allocations: 65.28 kB / 484.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001713/0.5106, allocations: 0.5616 MB / 485.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5106, allocations: 0 / 485.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.5106, allocations: 0 / 485.1 MB, free: 14.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002755/0.5109, allocations: 331.1 kB / 485.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.511, allocations: 12.03 kB / 485.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.511, allocations: 36.86 kB / 485.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.511, allocations: 2.031 kB / 485.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.704e-05/0.5111, allocations: 170.3 kB / 485.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5112, allocations: 3.312 kB / 485.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.5112, allocations: 4 kB / 485.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5113, allocations: 54.58 kB / 485.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5113, allocations: 0 / 485.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.5114, allocations: 2.875 kB / 485.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.5114, allocations: 4.75 kB / 485.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.5114, allocations: 15.06 kB / 485.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.5117, allocations: 323.9 kB / 486 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.5118, allocations: 21.77 kB / 486.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.5119, allocations: 0 / 486.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5119, allocations: 34.56 kB / 486.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.5119, allocations: 0 / 486.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000215/0.5121, allocations: 60.81 kB / 486.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.5122, allocations: 55.41 kB / 486.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.5122, allocations: 88.98 kB / 486.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5122, allocations: 29.64 kB / 486.3 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.5123, allocations: 80.14 kB / 486.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.5123, allocations: 19.14 kB / 486.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.5123, allocations: 4.125 kB / 486.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.5124, allocations: 318.7 kB / 486.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.5124, allocations: 7.984 kB / 486.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.5125, allocations: 22.16 kB / 486.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.5125, allocations: 7.562 kB / 486.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5125, allocations: 0 / 486.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.5127, allocations: 55.81 kB / 486.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5127, allocations: 11.69 kB / 486.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5127, allocations: 0 / 486.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5127, allocations: 4 kB / 486.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.5128, allocations: 7.984 kB / 486.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.5129, allocations: 7.938 kB / 486.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.5129, allocations: 0 / 486.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.5129, allocations: 0.5 kB / 486.9 MB, free: 12.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.513, allocations: 118.3 kB / 487 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.513, allocations: 3.906 kB / 487 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.5132, allocations: 64.25 kB / 487 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5132, allocations: 0 / 487 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5132, allocations: 0 / 487 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5132, allocations: 3.984 kB / 487.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.5134, allocations: 161 kB / 487.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5134, allocations: 3.984 kB / 487.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.5135, allocations: 11.06 kB / 487.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5135, allocations: 0 / 487.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.5135, allocations: 7.312 kB / 487.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5135, allocations: 0 / 487.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5135, allocations: 0 / 487.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.5137, allocations: 148.8 kB / 487.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.5137, allocations: 84.97 kB / 487.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.5137, allocations: 7.938 kB / 487.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.5138, allocations: 0 / 487.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.5138, allocations: 4.219 kB / 487.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5139, allocations: 4 kB / 487.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.5139, allocations: 82.78 kB / 487.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5139, allocations: 0 / 487.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.5142, allocations: 4 kB / 487.6 MB, free: 11.71 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 (5): * Single equations (assignments): 5 * 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.00035/0.5145, allocations: 0.6887 MB / 488.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.5147, allocations: 27.34 kB / 488.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5147, allocations: 4.156 kB / 488.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.5147, allocations: 15.25 kB / 488.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.5149, allocations: 0 / 488.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.5153, allocations: 149 kB / 488.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.5155, allocations: 0.6809 MB / 489.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.5155, allocations: 5.5 kB / 489.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.5156, allocations: 15 kB / 489.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5156, allocations: 0 / 489.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.5337, allocations: 1.046 MB / 490.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.534, allocations: 186.4 kB / 490.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.858, allocations: 0 / 490.4 MB, free: 8.891 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat