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.001568/0.001568, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1975/0.1975, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 71.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3012, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001497/0.3028, allocations: 0.5384 MB / 0.531 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.3035, allocations: 406.9 kB / 0.5314 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.3035, allocations: 0 / 0.5314 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.3036, allocations: 3.938 kB / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.338e-05/0.3036, allocations: 4 kB / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.304, allocations: 139.2 kB / 0.5315 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.3041, allocations: 29.62 kB / 0.5316 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.3042, allocations: 9.312 kB / 0.5316 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.3042, allocations: 18.73 kB / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.3042, allocations: 23.66 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3043, allocations: 1.594 kB / 0.5316 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.3045, allocations: 160.4 kB / 0.5318 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.3045, allocations: 10.84 kB / 0.5318 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.3046, allocations: 24.92 kB / 0.5318 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3048, allocations: 120.7 kB / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3048, allocations: 0 / 0.5319 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3048, allocations: 3.984 kB / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3048, allocations: 0 / 0.5319 GB, free: 12.37 MB / 398.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.0003754/0.3052, allocations: 362.4 kB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3052, allocations: 9.656 kB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.3052, allocations: 36.12 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.3053, allocations: 3.844 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3054, allocations: 166 kB / 0.5325 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3054, allocations: 6.125 kB / 0.5325 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3054, allocations: 5.844 kB / 0.5325 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3056, allocations: 81.53 kB / 0.5326 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3056, allocations: 5.656 kB / 0.5326 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3056, allocations: 1.781 kB / 0.5326 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3056, allocations: 7.922 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.3057, allocations: 46.83 kB / 0.5326 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.3059, allocations: 177.4 kB / 0.5328 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3061, allocations: 87.8 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.3061, allocations: 26.56 kB / 0.5329 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.3064, allocations: 106.9 kB / 0.533 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3064, allocations: 35.47 kB / 0.533 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3064, allocations: 2.094 kB / 0.5331 GB, free: 11.21 MB / 398.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.1278/0.4343, allocations: 5.611 MB / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4344, allocations: 58.7 kB / 0.5386 GB, free: 8.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4345, allocations: 99.27 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4345, allocations: 25.7 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.4345, allocations: 89.52 kB / 0.5388 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.4346, allocations: 79.67 kB / 0.5389 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4348, allocations: 59.55 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4349, allocations: 320 kB / 0.5392 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.4353, allocations: 114.1 kB / 0.5393 GB, free: 7.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.4356, allocations: 111.2 kB / 0.5394 GB, free: 7.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.437, allocations: 325.5 kB / 0.5398 GB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.437, allocations: 1.281 kB / 0.5398 GB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001176/0.4382, allocations: 356.9 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4383, allocations: 8.188 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4383, allocations: 1.094 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4383, allocations: 1.312 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.4387, allocations: 85.91 kB / 0.5402 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4387, allocations: 5.062 kB / 0.5402 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4389, allocations: 29.69 kB / 0.5402 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.439, allocations: 14.39 kB / 0.5402 GB, free: 6.949 MB / 398.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 0.0001224/0.4391, allocations: 117.1 kB / 0.5403 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4391, allocations: 8.438 kB / 0.5404 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.4405, allocations: 430.7 kB / 0.5408 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4405, allocations: 6.281 kB / 0.5408 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4405, allocations: 1.25 kB / 0.5408 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4405, allocations: 7.922 kB / 0.5408 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.4427, allocations: 0.7724 MB / 0.5415 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4427, allocations: 1.375 kB / 0.5415 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.443, allocations: 76.05 kB / 0.5416 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.443, allocations: 2.188 kB / 0.5416 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.443, allocations: 15.89 kB / 0.5416 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.443, allocations: 1.062 kB / 0.5416 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.443, allocations: 1.219 kB / 0.5416 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4441, allocations: 433.9 kB / 0.542 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.4442, allocations: 96.88 kB / 0.5421 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.4442, allocations: 4 kB / 0.5421 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4444, allocations: 23.97 kB / 0.5422 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.4445, allocations: 15.98 kB / 0.5422 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.4445, allocations: 11.98 kB / 0.5422 GB, free: 5.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.4445, allocations: 83.28 kB / 0.5423 GB, free: 5.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4445, allocations: 0 / 0.5423 GB, free: 5.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001543/0.4461, allocations: 0.6288 MB / 0.5429 GB, free: 4.738 MB / 398.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.00418/0.4503, allocations: 1.139 MB / 0.544 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.451, allocations: 263.5 kB / 0.5442 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.451, allocations: 0 / 0.5442 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.4514, allocations: 135.8 kB / 0.5444 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4516, allocations: 15.94 kB / 0.5444 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.4532, allocations: 425.1 kB / 0.5448 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4535, allocations: 0.697 MB / 0.5455 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.4537, allocations: 77.08 kB / 0.5455 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4538, allocations: 55.39 kB / 0.5456 GB, free: 1.836 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4538, allocations: 0 / 0.5456 GB, free: 1.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0787/0.5325, allocations: 55.14 MB / 0.5994 GB, free: 10.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.408, allocations: 7.844 kB / 0.5995 GB, free: 10.71 MB / 462.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