Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009865/0.0009865, allocations: 196.1 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.205/1.205, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008165, allocations: 94.58 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.266e-05, allocations: 3.984 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.084/0.08403, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.413, allocations: 86.74 MB / 0.5962 GB, free: 7.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.4132, allocations: 64.08 kB / 0.5962 GB, free: 7.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009421/0.4226, allocations: 3.171 MB / 0.5993 GB, free: 4.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.429e-06/0.4227, allocations: 0 / 0.5993 GB, free: 4.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.4227, allocations: 3.938 kB / 0.5993 GB, free: 4.395 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002826/0.423, allocations: 373.5 kB / 0.5997 GB, free: 3.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.423, allocations: 11.97 kB / 0.5997 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.4231, allocations: 37.36 kB / 0.5997 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.4231, allocations: 12.48 kB / 0.5997 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.4232, allocations: 159.1 kB / 0.5999 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4232, allocations: 4 kB / 0.5999 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.4232, allocations: 7.375 kB / 0.5999 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.4234, allocations: 68.48 kB / 0.6 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4234, allocations: 4 kB / 0.6 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.4234, allocations: 3.375 kB / 0.6 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4234, allocations: 4 kB / 0.6 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.4235, allocations: 42.34 kB / 0.6 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.4236, allocations: 180 kB / 0.6002 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.4238, allocations: 77.81 kB / 0.6003 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.4238, allocations: 33.61 kB / 0.6003 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.424, allocations: 113.1 kB / 0.6004 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4241, allocations: 33.5 kB / 0.6004 GB, free: 3.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.4241, allocations: 0 / 0.6004 GB, free: 3.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1134/0.5375, allocations: 4.979 MB / 0.6053 GB, free: 14.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.5376, allocations: 55.41 kB / 0.6054 GB, free: 14.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.5377, allocations: 85 kB / 0.6054 GB, free: 14.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5377, allocations: 29.02 kB / 0.6055 GB, free: 14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.5377, allocations: 80.52 kB / 0.6055 GB, free: 13.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.5378, allocations: 73.09 kB / 0.6056 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.5378, allocations: 7.312 kB / 0.6056 GB, free: 13.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.538, allocations: 322 kB / 0.6059 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5381, allocations: 72.78 kB / 0.606 GB, free: 13.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5382, allocations: 71.98 kB / 0.6061 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.5387, allocations: 109 kB / 0.6062 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5387, allocations: 0 / 0.6062 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006748/0.5394, allocations: 264.6 kB / 0.6064 GB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5394, allocations: 6.344 kB / 0.6064 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5394, allocations: 0.875 kB / 0.6064 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5394, allocations: 3.953 kB / 0.6064 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.5398, allocations: 98.53 kB / 0.6065 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.5398, allocations: 0 / 0.6065 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.54, allocations: 38.72 kB / 0.6066 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.54, allocations: 18.23 kB / 0.6066 GB, free: 12.97 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 (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 9.869e-05/0.5401, allocations: 116.2 kB / 0.6067 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.5402, allocations: 7.906 kB / 0.6067 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.5411, allocations: 345.1 kB / 0.607 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5411, allocations: 8 kB / 0.607 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5411, allocations: 3.953 kB / 0.607 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5411, allocations: 3.984 kB / 0.607 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.5428, allocations: 0.7349 MB / 0.6078 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5428, allocations: 3.938 kB / 0.6078 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.5431, allocations: 87.23 kB / 0.6078 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.5431, allocations: 4 kB / 0.6079 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.5432, allocations: 16.05 kB / 0.6079 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5432, allocations: 0 / 0.6079 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5432, allocations: 0 / 0.6079 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.5438, allocations: 365.4 kB / 0.6082 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.5439, allocations: 89.02 kB / 0.6083 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.5439, allocations: 6.734 kB / 0.6083 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.5441, allocations: 35.34 kB / 0.6083 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.5442, allocations: 15.94 kB / 0.6084 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.5442, allocations: 23.23 kB / 0.6084 GB, free: 11.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.645e-05/0.5442, allocations: 75.28 kB / 0.6084 GB, free: 11.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5442, allocations: 0 / 0.6084 GB, free: 11.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001353/0.5456, allocations: 0.6113 MB / 0.609 GB, free: 10.49 MB / 410.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 () * 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.003406/0.549, allocations: 1.263 MB / 0.6103 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.5493, allocations: 173.7 kB / 0.6104 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5493, allocations: 0 / 0.6104 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.5494, allocations: 91.09 kB / 0.6105 GB, free: 9.027 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.5496, allocations: 4.75 kB / 0.6105 GB, free: 9.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.5509, allocations: 400.5 kB / 0.6109 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.5511, allocations: 0.6978 MB / 0.6116 GB, free: 7.898 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.5514, allocations: 81.2 kB / 0.6117 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5516, allocations: 58.94 kB / 0.6117 GB, free: 7.773 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5516, allocations: 0 / 0.6117 GB, free: 7.773 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.5856, allocations: 18.08 MB / 0.6294 GB, free: 5.871 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.5859, allocations: 178.5 kB / 0.6296 GB, free: 5.637 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.156, allocations: 9.109 kB / 0.6296 GB, free: 5.633 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat