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.0009852/0.0009852, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008778/0.000878, allocations: 93.12 kB / 286.7 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.423e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09237, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4644, allocations: 85.98 MB / 0.5884 GB, free: 312 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.4646, allocations: 67.39 kB / 0.5885 GB, free: 272 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00893/0.4735, allocations: 3.016 MB / 0.5914 GB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4736, allocations: 0 / 0.5914 GB, free: 13.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4736, allocations: 3.938 kB / 0.5914 GB, free: 13.78 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.00032/0.4739, allocations: 370 kB / 0.5918 GB, free: 13.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4739, allocations: 8.031 kB / 0.5918 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.474, allocations: 8.531 kB / 0.5918 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4741, allocations: 167 kB / 0.592 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4741, allocations: 4 kB / 0.592 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.4742, allocations: 3.688 kB / 0.592 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.357e-05/0.4742, allocations: 23.48 kB / 0.592 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.248e-05/0.4743, allocations: 49.25 kB / 0.592 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4744, allocations: 3.984 kB / 0.592 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4744, allocations: 8 kB / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4744, allocations: 0 / 0.592 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.4746, allocations: 153.3 kB / 0.5922 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.4748, allocations: 45.64 kB / 0.5922 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.4748, allocations: 25.56 kB / 0.5923 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.4751, allocations: 116.3 kB / 0.5924 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4751, allocations: 34.56 kB / 0.5924 GB, free: 12.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.4751, allocations: 0 / 0.5924 GB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1256/0.6008, allocations: 5.457 MB / 0.5977 GB, free: 7.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.6008, allocations: 51.59 kB / 0.5978 GB, free: 7.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/0.6009, allocations: 91.62 kB / 0.5979 GB, free: 7.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.601, allocations: 37.62 kB / 0.5979 GB, free: 7.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.601, allocations: 83.83 kB / 0.598 GB, free: 7.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.6011, allocations: 57.92 kB / 0.598 GB, free: 7.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.6011, allocations: 3.938 kB / 0.598 GB, free: 7.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6012, allocations: 318.5 kB / 0.5984 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.6015, allocations: 195.3 kB / 0.5985 GB, free: 6.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.6017, allocations: 181 kB / 0.5987 GB, free: 6.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/0.6027, allocations: 288 kB / 0.599 GB, free: 6.312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6027, allocations: 0 / 0.599 GB, free: 6.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001401/0.6041, allocations: 0.5687 MB / 0.5995 GB, free: 5.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6041, allocations: 5.719 kB / 0.5995 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6041, allocations: 4 kB / 0.5995 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6042, allocations: 0 / 0.5995 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.6048, allocations: 115.8 kB / 0.5997 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6049, allocations: 0 / 0.5997 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.6053, allocations: 27.97 kB / 0.5997 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.6053, allocations: 35.12 kB / 0.5997 GB, free: 5.711 MB / 394.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.0001245/0.6055, allocations: 112.9 kB / 0.5998 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001405/0.6069, allocations: 0.5711 MB / 0.6004 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.6069, allocations: 7.906 kB / 0.6004 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.6087, allocations: 0.6808 MB / 0.6011 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6087, allocations: 4 kB / 0.6011 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6087, allocations: 0 / 0.6011 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6087, allocations: 3.984 kB / 0.6011 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.6122, allocations: 1.13 MB / 0.6022 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6122, allocations: 4 kB / 0.6022 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.6128, allocations: 99.86 kB / 0.6023 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6128, allocations: 4 kB / 0.6023 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.6129, allocations: 23.95 kB / 0.6023 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.6129, allocations: 16.12 kB / 0.6023 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6129, allocations: 3.938 kB / 0.6023 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.6142, allocations: 0.6067 MB / 0.6029 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.6143, allocations: 85.02 kB / 0.603 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.6143, allocations: 3.938 kB / 0.603 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.6147, allocations: 35.95 kB / 0.603 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.6148, allocations: 19.88 kB / 0.603 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.6148, allocations: 31.2 kB / 0.6031 GB, free: 2.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.6149, allocations: 79.28 kB / 0.6031 GB, free: 2.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6149, allocations: 0 / 0.6031 GB, free: 2.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001575/0.6164, allocations: 0.6319 MB / 0.6038 GB, free: 1.895 MB / 394.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.004489/0.6209, allocations: 1.775 MB / 0.6055 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.6215, allocations: 373.4 kB / 0.6059 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6215, allocations: 7.938 kB / 0.6059 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.6218, allocations: 159.7 kB / 0.606 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.622, allocations: 4 kB / 0.606 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.6249, allocations: 0.572 MB / 0.6066 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6251, allocations: 0.6965 MB / 0.6073 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005508/0.6257, allocations: 133.1 kB / 0.6074 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.626, allocations: 97.66 kB / 0.6075 GB, free: 14.24 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.626, allocations: 0 / 0.6075 GB, free: 14.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.6743, allocations: 21.21 MB / 0.6282 GB, free: 9.074 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.6746, allocations: 163.3 kB / 0.6283 GB, free: 8.875 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.623, allocations: 0 / 0.6283 GB, free: 8.875 MB / 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