Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000823/0.0008229, allocations: 91.55 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1813/0.1813, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.492e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08768, allocations: 63.24 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.426, allocations: 86.64 MB / 0.5961 GB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4263, allocations: 68.34 kB / 0.5961 GB, free: 6.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008975/0.4353, allocations: 3.037 MB / 0.5991 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4353, allocations: 4 kB / 0.5991 GB, free: 4.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4353, allocations: 3.938 kB / 0.5991 GB, free: 4.277 MB / 394.7 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.0002997/0.4356, allocations: 358.6 kB / 0.5994 GB, free: 3.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4357, allocations: 15.97 kB / 0.5995 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.4357, allocations: 36.67 kB / 0.5995 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.4358, allocations: 12.48 kB / 0.5995 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.4359, allocations: 164 kB / 0.5997 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4359, allocations: 5 kB / 0.5997 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.4359, allocations: 6.438 kB / 0.5997 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.4361, allocations: 55.94 kB / 0.5997 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4361, allocations: 1.375 kB / 0.5997 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.4361, allocations: 1.5 kB / 0.5997 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4361, allocations: 0 / 0.5997 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.353e-05/0.4362, allocations: 28.61 kB / 0.5998 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.4364, allocations: 178.6 kB / 0.5999 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.4366, allocations: 53.92 kB / 0.6 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.4366, allocations: 35.47 kB / 0.6 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.4368, allocations: 105.9 kB / 0.6001 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.4369, allocations: 35.05 kB / 0.6001 GB, free: 3.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4369, allocations: 0 / 0.6001 GB, free: 3.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1142/0.5511, allocations: 5.393 MB / 0.6054 GB, free: 13.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5511, allocations: 55.41 kB / 0.6055 GB, free: 13.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.5512, allocations: 92.44 kB / 0.6056 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.5512, allocations: 32.95 kB / 0.6056 GB, free: 13.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.5513, allocations: 80.14 kB / 0.6057 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.5514, allocations: 77.33 kB / 0.6057 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.5514, allocations: 0 / 0.6057 GB, free: 13.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5515, allocations: 322.3 kB / 0.606 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.5518, allocations: 190 kB / 0.6062 GB, free: 13.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.5521, allocations: 191.6 kB / 0.6064 GB, free: 12.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.5528, allocations: 237.6 kB / 0.6066 GB, free: 12.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5528, allocations: 0 / 0.6066 GB, free: 12.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001207/0.5541, allocations: 0.5291 MB / 0.6071 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5541, allocations: 8 kB / 0.6072 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5541, allocations: 0 / 0.6072 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5541, allocations: 4 kB / 0.6072 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.5547, allocations: 115.8 kB / 0.6073 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.5548, allocations: 0 / 0.6073 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.5552, allocations: 43.34 kB / 0.6073 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.5553, allocations: 27.95 kB / 0.6073 GB, free: 12.25 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001133/0.5554, allocations: 113.6 kB / 0.6074 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.5554, allocations: 11.89 kB / 0.6075 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.557, allocations: 0.6491 MB / 0.6081 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.557, allocations: 4 kB / 0.6081 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.557, allocations: 0 / 0.6081 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.557, allocations: 4 kB / 0.6081 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.5604, allocations: 1.114 MB / 0.6092 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5604, allocations: 256 / 0.6092 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.5609, allocations: 119.9 kB / 0.6093 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.5609, allocations: 0 / 0.6093 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.561, allocations: 27.95 kB / 0.6093 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.561, allocations: 3.984 kB / 0.6093 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.561, allocations: 4 kB / 0.6093 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5621, allocations: 0.5692 MB / 0.6099 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.5622, allocations: 93 kB / 0.61 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.5622, allocations: 11.45 kB / 0.61 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.5626, allocations: 31.09 kB / 0.61 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.5626, allocations: 11.98 kB / 0.61 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.5627, allocations: 31.39 kB / 0.6101 GB, free: 9.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.533e-05/0.5627, allocations: 87.27 kB / 0.6101 GB, free: 9.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5627, allocations: 3.938 kB / 0.6101 GB, free: 9.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001475/0.5642, allocations: 0.6271 MB / 0.6108 GB, free: 8.949 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.004022/0.5683, allocations: 1.752 MB / 0.6125 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.5689, allocations: 373.6 kB / 0.6128 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5689, allocations: 0 / 0.6128 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.5691, allocations: 161.8 kB / 0.613 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.5693, allocations: 11.3 kB / 0.613 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.5719, allocations: 0.5892 MB / 0.6136 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.5721, allocations: 0.7046 MB / 0.6143 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005109/0.5726, allocations: 124.9 kB / 0.6144 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.573, allocations: 101.8 kB / 0.6145 GB, free: 5.309 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.573, allocations: 0 / 0.6145 GB, free: 5.309 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.6102, allocations: 21.2 MB / 0.6352 GB, free: 280 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6104, allocations: 163.1 kB / 0.6353 GB, free: 56 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.32, allocations: 0 / 0.6353 GB, free: 56 kB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat