Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 194.5 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 226.5 MB / 243.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007994/0.0007995, allocations: 102.8 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2703/0.2703, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002439/0.000244, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2428, allocations: 62.95 MB / 0.516 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0004603/0.2433, allocations: 230.6 kB / 0.5162 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000212/0.2436, allocations: 90.17 kB / 0.5163 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.673e-05/0.2436, allocations: 0 / 0.5163 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.2436, allocations: 3.938 kB / 0.5163 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.771e-05/0.2436, allocations: 0 / 0.5163 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.2438, allocations: 14.47 kB / 0.5163 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.069e-05/0.2438, allocations: 14.58 kB / 0.5163 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.2439, allocations: 7.047 kB / 0.5163 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.2439, allocations: 2.969 kB / 0.5163 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.244, allocations: 14.45 kB / 0.5163 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.244, allocations: 0 / 0.5163 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.244, allocations: 28.69 kB / 0.5163 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-06/0.2441, allocations: 3.422 kB / 0.5163 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.2441, allocations: 36.36 kB / 0.5164 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.345e-05/0.2441, allocations: 9.203 kB / 0.5164 GB, free: 36.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2442, allocations: 0 / 0.5164 GB, free: 36.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2442, allocations: 0 / 0.5164 GB, free: 36.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2442, allocations: 6.906 kB / 0.5164 GB, free: 36.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002301/0.2444, allocations: 331.8 kB / 0.5167 GB, free: 36.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2445, allocations: 8.719 kB / 0.5167 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.2445, allocations: 33.72 kB / 0.5168 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.781e-05/0.2445, allocations: 0.9375 kB / 0.5168 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.347e-05/0.2446, allocations: 160.4 kB / 0.5169 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2446, allocations: 3.375 kB / 0.5169 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.2446, allocations: 384 / 0.5169 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.2447, allocations: 67 kB / 0.517 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2447, allocations: 3.938 kB / 0.517 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.2447, allocations: 0 / 0.517 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2447, allocations: 0 / 0.517 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.2448, allocations: 16.78 kB / 0.517 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.245, allocations: 324.4 kB / 0.5173 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.245, allocations: 36.48 kB / 0.5173 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.2451, allocations: 16.89 kB / 0.5174 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2451, allocations: 0 / 0.5174 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.2451, allocations: 30.56 kB / 0.5174 GB, free: 35.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2451, allocations: 2.875 kB / 0.5174 GB, free: 35.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.000145/0.2453, allocations: 59.38 kB / 0.5174 GB, free: 35.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.2453, allocations: 54.64 kB / 0.5175 GB, free: 35.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.924e-05/0.2453, allocations: 96.36 kB / 0.5176 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.2453, allocations: 28.58 kB / 0.5176 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.855e-05/0.2454, allocations: 80.14 kB / 0.5177 GB, free: 35.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/0.2454, allocations: 18.98 kB / 0.5177 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2454, allocations: 2.812 kB / 0.5177 GB, free: 35.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.2454, allocations: 310.8 kB / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.2454, allocations: 6.969 kB / 0.518 GB, free: 34.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.2455, allocations: 23.08 kB / 0.518 GB, free: 34.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.2455, allocations: 33.16 kB / 0.5181 GB, free: 34.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2455, allocations: 3.938 kB / 0.5181 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.333e-05/0.2456, allocations: 52.14 kB / 0.5181 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2456, allocations: 5.938 kB / 0.5181 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2456, allocations: 0 / 0.5181 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2457, allocations: 10.06 kB / 0.5181 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.2457, allocations: 5.969 kB / 0.5181 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2457, allocations: 7.969 kB / 0.5182 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.2458, allocations: 2.969 kB / 0.5182 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2458, allocations: 0 / 0.5182 GB, free: 34.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 4.208e-05/0.2458, allocations: 112.8 kB / 0.5183 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.2458, allocations: 3.906 kB / 0.5183 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.2459, allocations: 62.52 kB / 0.5183 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2459, allocations: 240 / 0.5183 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.246, allocations: 2.906 kB / 0.5183 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.246, allocations: 4 kB / 0.5183 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2461, allocations: 163.9 kB / 0.5185 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2461, allocations: 3.938 kB / 0.5185 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.2461, allocations: 11.05 kB / 0.5185 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2461, allocations: 0 / 0.5185 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2461, allocations: 3 kB / 0.5185 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2461, allocations: 0 / 0.5185 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2462, allocations: 0 / 0.5185 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.075e-05/0.2462, allocations: 157 kB / 0.5187 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.2463, allocations: 81.11 kB / 0.5187 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.2463, allocations: 0 / 0.5187 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.2463, allocations: 2.969 kB / 0.5187 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.2464, allocations: 3.375 kB / 0.5187 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2464, allocations: 7.062 kB / 0.5187 GB, free: 34.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.514e-05/0.2464, allocations: 75.28 kB / 0.5188 GB, free: 34.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2464, allocations: 0 / 0.5188 GB, free: 34.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.2466, allocations: 5.875 kB / 0.5188 GB, free: 34.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0002257/0.2468, allocations: 0.6922 MB / 0.5195 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.2469, allocations: 25.44 kB / 0.5195 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2469, allocations: 0 / 0.5195 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.247, allocations: 16.5 kB / 0.5195 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.2471, allocations: 0 / 0.5195 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.2474, allocations: 173.5 kB / 0.5197 GB, free: 33.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.34e-05/0.2475, allocations: 0.6723 MB / 0.5204 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.2476, allocations: 17.31 kB / 0.5204 GB, free: 32.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2476, allocations: 0 / 0.5204 GB, free: 32.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.232/2.479, allocations: 0.7113 MB / 0.5211 GB, free: 32.54 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches