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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 78.28 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.0966, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001655/0.0983, allocations: 0.5346 MB / 480.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.09897, allocations: 409.5 kB / 481.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.09901, allocations: 0 / 481.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.09904, allocations: 7.938 kB / 481.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.095e-05/0.09906, allocations: 0 / 481.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.09949, allocations: 143.5 kB / 481.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.769e-05/0.09955, allocations: 27.92 kB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.09959, allocations: 4 kB / 481.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.09961, allocations: 12 kB / 481.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.09966, allocations: 19.84 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.09968, allocations: 4 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.09992, allocations: 163.8 kB / 481.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.09995, allocations: 7.984 kB / 481.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.09998, allocations: 23.86 kB / 481.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1002, allocations: 127.9 kB / 481.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1002, allocations: 0 / 481.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1002, allocations: 0 / 481.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1002, allocations: 0 / 481.6 MB, free: 3.73 MB / 350.1 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.0003678/0.1006, allocations: 359.6 kB / 481.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1006, allocations: 8.031 kB / 481.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.1006, allocations: 42.75 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.1007, allocations: 8.844 kB / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1008, allocations: 168.3 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1008, allocations: 384 / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1008, allocations: 12.38 kB / 482.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.101, allocations: 69.92 kB / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.101, allocations: 3.906 kB / 482.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.101, allocations: 4 kB / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.101, allocations: 7.984 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.1011, allocations: 43.89 kB / 482.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1012, allocations: 177.6 kB / 482.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1014, allocations: 86.48 kB / 482.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.1014, allocations: 32.84 kB / 482.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.1017, allocations: 105 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1017, allocations: 34.5 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1017, allocations: 4 kB / 482.7 MB, free: 2.398 MB / 350.1 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.127/0.2287, allocations: 5.621 MB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2288, allocations: 59.41 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.2289, allocations: 89.86 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2289, allocations: 29.7 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.229, allocations: 80.52 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.2291, allocations: 78.91 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.2292, allocations: 57.67 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2293, allocations: 322.8 kB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.2297, allocations: 116 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.23, allocations: 118.9 kB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.2314, allocations: 324.4 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2315, allocations: 4 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001123/0.2326, allocations: 350.6 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2326, allocations: 4 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2326, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2326, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.233, allocations: 91.84 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.233, allocations: 0 / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.2332, allocations: 27.91 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.2333, allocations: 19.97 kB / 490.1 MB, free: 10.95 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/0.2334, allocations: 117.8 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.2334, allocations: 11.91 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.2347, allocations: 429 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2348, allocations: 0 / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2348, allocations: 0 / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2348, allocations: 3.938 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.2368, allocations: 0.7873 MB / 491.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2368, allocations: 0 / 491.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.2371, allocations: 83.86 kB / 491.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2371, allocations: 4.062 kB / 491.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2371, allocations: 11.98 kB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2371, allocations: 0 / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2371, allocations: 4 kB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2382, allocations: 424.7 kB / 491.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.2383, allocations: 85.02 kB / 492 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.2383, allocations: 4 kB / 492 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2385, allocations: 27.97 kB / 492.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.2385, allocations: 15.92 kB / 492.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.2385, allocations: 19.98 kB / 492.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.069e-05/0.2386, allocations: 87.09 kB / 492.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2386, allocations: 0 / 492.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001426/0.24, allocations: 0.625 MB / 492.8 MB, free: 8.117 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004119/0.2441, allocations: 1.133 MB / 493.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.2449, allocations: 275.6 kB / 494.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2449, allocations: 0 / 494.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.2452, allocations: 131.8 kB / 494.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2455, allocations: 10.41 kB / 494.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2471, allocations: 429.5 kB / 494.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2473, allocations: 0.6931 MB / 495.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.2476, allocations: 77.08 kB / 495.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2477, allocations: 59.38 kB / 495.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2477, allocations: 0 / 495.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2701/0.5178, allocations: 55.01 MB / 0.5377 GB, free: 19.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.182, allocations: 10.81 kB / 0.5377 GB, free: 19.12 MB / 382.1 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches