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.0012/0.0012, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.333, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002297/0.3353, allocations: 0.54 MB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3365, allocations: 402.6 kB / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.3366, allocations: 0 / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.3366, allocations: 5.469 kB / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.3367, allocations: 0 / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.3373, allocations: 146.9 kB / 0.5317 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.3374, allocations: 29.48 kB / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.3375, allocations: 3.031 kB / 0.5317 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.384e-05/0.3375, allocations: 15.62 kB / 0.5317 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.3376, allocations: 19.19 kB / 0.5317 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3376, allocations: 1.656 kB / 0.5317 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.3379, allocations: 166.8 kB / 0.5319 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.3379, allocations: 3.688 kB / 0.5319 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.338, allocations: 20.17 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.3383, allocations: 132.1 kB / 0.532 GB, free: 12.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3383, allocations: 4.844 kB / 0.532 GB, free: 12.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3383, allocations: 0 / 0.532 GB, free: 12.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3383, allocations: 0 / 0.532 GB, free: 12.31 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.0005201/0.3388, allocations: 369.6 kB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3389, allocations: 11.56 kB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.3389, allocations: 38.73 kB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.339, allocations: 10.64 kB / 0.5325 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3391, allocations: 160.4 kB / 0.5326 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3392, allocations: 20.14 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3392, allocations: 7.875 kB / 0.5326 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3394, allocations: 71.19 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3394, allocations: 0 / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3394, allocations: 4 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3394, allocations: 3.781 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.3395, allocations: 42.55 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.3398, allocations: 173.9 kB / 0.5329 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3399, allocations: 90.48 kB / 0.533 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.34, allocations: 31.97 kB / 0.533 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.3403, allocations: 100.2 kB / 0.5331 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.3404, allocations: 39.86 kB / 0.5332 GB, free: 11.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.3404, allocations: 0 / 0.5332 GB, free: 11.14 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.1343/0.4747, allocations: 5.617 MB / 0.5387 GB, free: 8.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4748, allocations: 58.67 kB / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.4749, allocations: 94.94 kB / 0.5388 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.475, allocations: 34.98 kB / 0.5388 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.475, allocations: 80.52 kB / 0.5389 GB, free: 7.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.4751, allocations: 77.12 kB / 0.539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.4752, allocations: 57.95 kB / 0.539 GB, free: 7.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4754, allocations: 325.2 kB / 0.5393 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4758, allocations: 114 kB / 0.5395 GB, free: 7.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.4761, allocations: 115.3 kB / 0.5396 GB, free: 7.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4775, allocations: 325.8 kB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4776, allocations: 0 / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00124/0.4788, allocations: 354.4 kB / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4788, allocations: 5.156 kB / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4789, allocations: 0 / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4789, allocations: 1.312 kB / 0.5402 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.4793, allocations: 82.98 kB / 0.5403 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4793, allocations: 9.203 kB / 0.5403 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4795, allocations: 24.66 kB / 0.5403 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.4795, allocations: 18.61 kB / 0.5403 GB, free: 6.879 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.000136/0.4797, allocations: 113.3 kB / 0.5405 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.4797, allocations: 12.77 kB / 0.5405 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.4812, allocations: 431.1 kB / 0.5409 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4812, allocations: 2.719 kB / 0.5409 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4812, allocations: 0 / 0.5409 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4812, allocations: 11.88 kB / 0.5409 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.4835, allocations: 0.7833 MB / 0.5417 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4836, allocations: 4.062 kB / 0.5417 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.4839, allocations: 76.59 kB / 0.5417 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.4839, allocations: 1.312 kB / 0.5417 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.4839, allocations: 12.98 kB / 0.5417 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4839, allocations: 1.094 kB / 0.5418 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4839, allocations: 1.469 kB / 0.5418 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4852, allocations: 438.2 kB / 0.5422 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.4852, allocations: 85.06 kB / 0.5423 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.4853, allocations: 7.938 kB / 0.5423 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.4855, allocations: 31.95 kB / 0.5423 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.4855, allocations: 11.98 kB / 0.5423 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.4855, allocations: 11.98 kB / 0.5423 GB, free: 5.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.4856, allocations: 83.28 kB / 0.5424 GB, free: 5.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4856, allocations: 4.094 kB / 0.5424 GB, free: 5.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001631/0.4872, allocations: 0.6245 MB / 0.543 GB, free: 4.621 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.004838/0.4921, allocations: 1.139 MB / 0.5441 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.493, allocations: 263.5 kB / 0.5444 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4931, allocations: 0 / 0.5444 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.4935, allocations: 139.9 kB / 0.5445 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4937, allocations: 8 kB / 0.5445 GB, free: 3.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4957, allocations: 436.4 kB / 0.5449 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.4961, allocations: 0.6931 MB / 0.5456 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000258/0.4964, allocations: 81.08 kB / 0.5457 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.4965, allocations: 55.39 kB / 0.5457 GB, free: 1.711 MB / 398.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4965, allocations: 0 / 0.5457 GB, free: 1.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09498/0.5915, allocations: 55.07 MB / 0.5995 GB, free: 10.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.872, allocations: 11.16 kB / 0.5995 GB, free: 10.65 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