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.001977/0.001977, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009217/0.0009216, allocations: 91.59 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3338/0.3338, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8.219 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4359, allocations: 63.24 MB / 0.5193 GB, free: 44.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.589, allocations: 86.82 MB / 0.604 GB, free: 2.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5893, allocations: 67.94 kB / 0.6041 GB, free: 2.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.5997, allocations: 3.187 MB / 0.6072 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5998, allocations: 0 / 0.6072 GB, free: 15.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.5998, allocations: 0.75 kB / 0.6072 GB, free: 15.55 MB / 426.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.0004178/0.6002, allocations: 375.6 kB / 0.6076 GB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6003, allocations: 12.78 kB / 0.6076 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.6003, allocations: 46.48 kB / 0.6076 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.6004, allocations: 12.42 kB / 0.6077 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.6005, allocations: 159.1 kB / 0.6078 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.6005, allocations: 2.219 kB / 0.6078 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.6006, allocations: 12 kB / 0.6078 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.6007, allocations: 62.91 kB / 0.6079 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6008, allocations: 0 / 0.6079 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6008, allocations: 4 kB / 0.6079 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6008, allocations: 5.406 kB / 0.6079 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.6009, allocations: 43.89 kB / 0.6079 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.6011, allocations: 177.5 kB / 0.6081 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.6013, allocations: 83.64 kB / 0.6082 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.6015, allocations: 113 kB / 0.6083 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.6016, allocations: 34.56 kB / 0.6083 GB, free: 14.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.6016, allocations: 0 / 0.6083 GB, free: 14.26 MB / 426.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.1224/0.724, allocations: 5.552 MB / 0.6137 GB, free: 8.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.7241, allocations: 59.34 kB / 0.6138 GB, free: 8.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.7242, allocations: 92.98 kB / 0.6139 GB, free: 8.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.7242, allocations: 25.7 kB / 0.6139 GB, free: 8.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.7243, allocations: 84.64 kB / 0.614 GB, free: 8.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.345e-05/0.7244, allocations: 78.84 kB / 0.6141 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.7244, allocations: 4 kB / 0.6141 GB, free: 8.305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7245, allocations: 326.8 kB / 0.6144 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.7249, allocations: 135.9 kB / 0.6145 GB, free: 7.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.7252, allocations: 135.5 kB / 0.6146 GB, free: 7.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.726, allocations: 179.9 kB / 0.6148 GB, free: 7.539 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.726, allocations: 4 kB / 0.6148 GB, free: 7.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001212/0.7272, allocations: 397.2 kB / 0.6152 GB, free: 7.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7273, allocations: 4 kB / 0.6152 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7273, allocations: 0 / 0.6152 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.7273, allocations: 4 kB / 0.6152 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.7278, allocations: 99.81 kB / 0.6153 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.7278, allocations: 0 / 0.6153 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.728, allocations: 39.95 kB / 0.6153 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.7281, allocations: 19.98 kB / 0.6154 GB, free: 6.977 MB / 426.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.0001222/0.7282, allocations: 117.8 kB / 0.6155 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.7282, allocations: 7.906 kB / 0.6155 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.7297, allocations: 478.6 kB / 0.6159 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.7297, allocations: 4 kB / 0.6159 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.7297, allocations: 3.953 kB / 0.6159 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.7298, allocations: 3.938 kB / 0.6159 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.7321, allocations: 0.8604 MB / 0.6168 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7321, allocations: 8 kB / 0.6168 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.7324, allocations: 87.94 kB / 0.6169 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.7325, allocations: 4 kB / 0.6169 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.7325, allocations: 11.98 kB / 0.6169 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7325, allocations: 0 / 0.6169 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7325, allocations: 3.938 kB / 0.6169 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.7337, allocations: 0.4962 MB / 0.6174 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.7338, allocations: 89.02 kB / 0.6175 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.7338, allocations: 3.984 kB / 0.6175 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.734, allocations: 43.95 kB / 0.6175 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.7341, allocations: 15.94 kB / 0.6175 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.7341, allocations: 19.98 kB / 0.6175 GB, free: 4.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.7341, allocations: 75.28 kB / 0.6176 GB, free: 4.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7341, allocations: 4.094 kB / 0.6176 GB, free: 4.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001777/0.7359, allocations: 0.6207 MB / 0.6182 GB, free: 3.91 MB / 426.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.004648/0.7406, allocations: 1.385 MB / 0.6196 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008245/0.7414, allocations: 307.6 kB / 0.6199 GB, free: 2.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7414, allocations: 0 / 0.6199 GB, free: 2.184 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.7418, allocations: 161 kB / 0.62 GB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.742, allocations: 8 kB / 0.62 GB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.7439, allocations: 0.5364 MB / 0.6206 GB, free: 1.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.7442, allocations: 0.7017 MB / 0.6212 GB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.7446, allocations: 77.08 kB / 0.6213 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.7447, allocations: 55.39 kB / 0.6214 GB, free: 0.582 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7447, allocations: 0 / 0.6214 GB, free: 0.582 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.7871, allocations: 18.11 MB / 0.6391 GB, free: 14.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.7874, allocations: 187.5 kB / 0.6392 GB, free: 14.47 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.47, allocations: 0 / 0.6392 GB, free: 14.47 MB / 458.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