Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00944/0.00944, allocations: 174.1 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.917/1.917, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001994/0.001994, allocations: 116.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2466/0.2466, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004706, allocations: 12.17 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.2652, allocations: 79.79 MB / 0.5283 GB, free: 3.297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.2655, allocations: 67.97 kB / 0.5283 GB, free: 3.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.2808, allocations: 3.115 MB / 0.5314 GB, free: 112 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2808, allocations: 0 / 0.5314 GB, free: 112 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.2809, allocations: 0 / 0.5314 GB, free: 112 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.2894/0.5703, allocations: 356.5 kB / 0.5317 GB, free: 82.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5704, allocations: 9.188 kB / 0.5317 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.5704, allocations: 40.64 kB / 0.5317 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.5705, allocations: 7.312 kB / 0.5318 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.5706, allocations: 168.6 kB / 0.5319 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.5706, allocations: 5.719 kB / 0.5319 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.5707, allocations: 6.891 kB / 0.5319 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.5709, allocations: 63.47 kB / 0.532 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5709, allocations: 5.141 kB / 0.532 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5709, allocations: 2.047 kB / 0.532 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5709, allocations: 1.25 kB / 0.532 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.5711, allocations: 47.67 kB / 0.532 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.5712, allocations: 177.3 kB / 0.5322 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.5715, allocations: 87.3 kB / 0.5323 GB, free: 81.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.5718, allocations: 117.2 kB / 0.5324 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5718, allocations: 32.19 kB / 0.5324 GB, free: 81.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.5719, allocations: 2.656 kB / 0.5324 GB, free: 81.65 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.2967/0.8685, allocations: 5.526 MB / 0.5378 GB, free: 81.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.8686, allocations: 58.45 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.8687, allocations: 90.31 kB / 0.538 GB, free: 80.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.8687, allocations: 29.95 kB / 0.538 GB, free: 80.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.8688, allocations: 81.52 kB / 0.5381 GB, free: 80.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.8689, allocations: 74.61 kB / 0.5382 GB, free: 80.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.8689, allocations: 1.062 kB / 0.5382 GB, free: 80.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.869, allocations: 323.4 kB / 0.5385 GB, free: 80.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.8697, allocations: 134 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.8704, allocations: 142.2 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.8718, allocations: 178.2 kB / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8718, allocations: 0 / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002255/0.874, allocations: 407.6 kB / 0.5393 GB, free: 80.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8741, allocations: 5.438 kB / 0.5393 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.8741, allocations: 4 kB / 0.5393 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8741, allocations: 2.219 kB / 0.5393 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.8749, allocations: 90.17 kB / 0.5394 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.8749, allocations: 5.391 kB / 0.5394 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.8753, allocations: 41.25 kB / 0.5394 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.8753, allocations: 14.02 kB / 0.5394 GB, free: 80.14 MB / 378.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 (23): * Single equations (assignments): 23 * 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 0.0001317/0.8755, allocations: 121.6 kB / 0.5396 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.8755, allocations: 15.95 kB / 0.5396 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.8781, allocations: 474.5 kB / 0.54 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.8781, allocations: 5.047 kB / 0.54 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8782, allocations: 1.312 kB / 0.54 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8782, allocations: 0 / 0.54 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.882, allocations: 0.8702 MB / 0.5409 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8821, allocations: 6.219 kB / 0.5409 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.8826, allocations: 82.53 kB / 0.541 GB, free: 79.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.8827, allocations: 1.906 kB / 0.541 GB, free: 79.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.8827, allocations: 17.39 kB / 0.541 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.8827, allocations: 0 / 0.541 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8827, allocations: 13.86 kB / 0.541 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.8848, allocations: 497.9 kB / 0.5415 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.8849, allocations: 87.7 kB / 0.5416 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.8849, allocations: 6.703 kB / 0.5416 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.8853, allocations: 37.45 kB / 0.5416 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.8854, allocations: 21.23 kB / 0.5416 GB, free: 78.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.8854, allocations: 13.61 kB / 0.5416 GB, free: 78.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.628e-05/0.8854, allocations: 76.66 kB / 0.5417 GB, free: 78.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8855, allocations: 0 / 0.5417 GB, free: 78.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002405/0.8879, allocations: 0.6163 MB / 0.5423 GB, free: 78.78 MB / 378.7 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 (23): * Single equations (assignments): 23 * 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.007263/0.8952, allocations: 1.395 MB / 0.5437 GB, free: 77.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.8968, allocations: 307.5 kB / 0.544 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8968, allocations: 0 / 0.544 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000714/0.8975, allocations: 157.7 kB / 0.5441 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.8977, allocations: 6.188 kB / 0.5441 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.901, allocations: 0.5266 MB / 0.5446 GB, free: 77.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.9012, allocations: 0.7015 MB / 0.5453 GB, free: 76.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004938/0.9017, allocations: 81.8 kB / 0.5454 GB, free: 76.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.9019, allocations: 55.48 kB / 0.5454 GB, free: 76.51 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9019, allocations: 0 / 0.5454 GB, free: 76.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05966/0.9616, allocations: 18.09 MB / 0.5631 GB, free: 60.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.9619, allocations: 202.9 kB / 0.5633 GB, free: 60.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.842, allocations: 4.062 kB / 0.5633 GB, free: 60.35 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat