Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.01419/0.01419, 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.708/1.708, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001916/0.001915, allocations: 108.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.4529/0.4529, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004903, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.565, allocations: 74.11 MB / 485.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5653, allocations: 73.16 kB / 485.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04126/0.6066, allocations: 8.212 MB / 494.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6066, allocations: 0 / 494.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.6066, allocations: 0 / 494.1 MB, free: 6.598 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003338/0.607, allocations: 347 kB / 494.4 MB, free: 6.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.607, allocations: 8.031 kB / 494.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.6071, allocations: 34.56 kB / 494.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.6071, allocations: 0.7812 kB / 494.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.6072, allocations: 165.9 kB / 494.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6072, allocations: 4 kB / 494.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6072, allocations: 7.984 kB / 494.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.6074, allocations: 33.14 kB / 494.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6074, allocations: 0 / 494.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6074, allocations: 0 / 494.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6074, allocations: 0 / 494.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.6075, allocations: 11.92 kB / 494.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.6078, allocations: 250.5 kB / 494.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.6078, allocations: 22.58 kB / 495 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.6079, allocations: 0 / 495 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.6079, allocations: 34.59 kB / 495 MB, free: 5.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.6079, allocations: 0 / 495 MB, free: 5.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001608/0.6081, allocations: 40.83 kB / 495 MB, free: 5.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.6081, allocations: 51.41 kB / 495.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.724e-05/0.6082, allocations: 93.12 kB / 495.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.6082, allocations: 25.7 kB / 495.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.6083, allocations: 91.16 kB / 495.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/0.6083, allocations: 3.906 kB / 495.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.6083, allocations: 0 / 495.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.6084, allocations: 318.8 kB / 495.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.6084, allocations: 0 / 495.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.6084, allocations: 22.02 kB / 495.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.6085, allocations: 8.688 kB / 495.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6085, allocations: 0 / 495.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.567e-05/0.6086, allocations: 53.06 kB / 495.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6086, allocations: 8 kB / 495.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6086, allocations: 0 / 495.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6086, allocations: 0 / 495.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.6087, allocations: 10.94 kB / 495.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6087, allocations: 4.797 kB / 495.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.6087, allocations: 7.984 kB / 495.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.6088, allocations: 0 / 495.7 MB, free: 4.785 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.306e-05/0.6088, allocations: 118.2 kB / 495.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.6089, allocations: 0 / 495.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.609, allocations: 44.77 kB / 495.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.609, allocations: 3.984 kB / 495.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.609, allocations: 4.031 kB / 495.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6091, allocations: 96 / 495.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.6092, allocations: 153.1 kB / 496 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.6092, allocations: 3.984 kB / 496 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.6092, allocations: 0 / 496 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6092, allocations: 0 / 496 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.6092, allocations: 3.984 kB / 496 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6093, allocations: 0 / 496 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6093, allocations: 0 / 496 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.699e-05/0.6094, allocations: 135 kB / 496.2 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.6094, allocations: 81.11 kB / 496.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.6094, allocations: 0 / 496.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.6095, allocations: 3.984 kB / 496.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.6095, allocations: 0 / 496.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.6095, allocations: 4 kB / 496.3 MB, free: 4.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.6096, allocations: 75.28 kB / 496.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6096, allocations: 3.938 kB / 496.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.61, allocations: 55.56 kB / 496.4 MB, free: 4.023 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000561/0.6106, allocations: 0.708 MB / 497.1 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.6107, allocations: 44.75 kB / 497.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6107, allocations: 224 / 497.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.6108, allocations: 33.7 kB / 497.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.6109, allocations: 1.5 kB / 497.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.6114, allocations: 148.8 kB / 497.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.6115, allocations: 0.6731 MB / 498 MB, free: 2.328 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.6116, allocations: 4 kB / 498 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.6116, allocations: 7.438 kB / 498 MB, free: 2.316 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6116, allocations: 0 / 498 MB, free: 2.316 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.6307, allocations: 1.425 MB / 499.4 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.631, allocations: 175.2 kB / 499.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.108, allocations: 4 kB / 499.6 MB, free: 0.75 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat