Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 76.81 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001816/0.1051, allocations: 0.5622 MB / 479.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003928/0.1056, allocations: 98.41 kB / 480 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.1056, allocations: 0 / 480 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.1057, allocations: 3.938 kB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.1057, allocations: 0 / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1059, allocations: 11.98 kB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.106, allocations: 11.98 kB / 480.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.106, allocations: 11.94 kB / 480.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.1061, allocations: 3.938 kB / 480.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.1062, allocations: 11.98 kB / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1062, allocations: 0 / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1063, allocations: 27.97 kB / 480.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.1063, allocations: 7.984 kB / 480.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1064, allocations: 3.938 kB / 480.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1065, allocations: 27.91 kB / 480.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1065, allocations: 4 kB / 480.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1065, allocations: 0 / 480.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1065, allocations: 0 / 480.2 MB, free: 4.848 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004238/0.1069, allocations: 327.6 kB / 480.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.107, allocations: 8.875 kB / 480.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.107, allocations: 38.73 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.1071, allocations: 0.9375 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1072, allocations: 164.6 kB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1072, allocations: 8.375 kB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1072, allocations: 384 / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1074, allocations: 59.97 kB / 480.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1074, allocations: 3.938 kB / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1074, allocations: 0 / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1074, allocations: 0 / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.1075, allocations: 19.92 kB / 480.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1078, allocations: 329 kB / 481.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.1079, allocations: 26.52 kB / 481.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.1079, allocations: 20.94 kB / 481.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.108, allocations: 0 / 481.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.108, allocations: 34.5 kB / 481.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.108, allocations: 0 / 481.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002138/0.1082, allocations: 53.69 kB / 481.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1083, allocations: 51.41 kB / 481.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.1084, allocations: 97.86 kB / 481.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1084, allocations: 33.64 kB / 481.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1084, allocations: 80.14 kB / 481.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.1085, allocations: 19.78 kB / 481.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1085, allocations: 17.72 kB / 481.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1086, allocations: 310.8 kB / 481.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.1087, allocations: 8 kB / 481.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.1087, allocations: 29.77 kB / 481.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.1088, allocations: 25.91 kB / 481.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1088, allocations: 3.938 kB / 481.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.977e-05/0.1089, allocations: 57.61 kB / 482 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1089, allocations: 11.94 kB / 482 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1089, allocations: 0 / 482 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.109, allocations: 0 / 482 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.109, allocations: 15.98 kB / 482 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1091, allocations: 0 / 482 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.1091, allocations: 7.938 kB / 482 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1091, allocations: 4 kB / 482 MB, free: 2.762 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.1092, allocations: 113.7 kB / 482.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1092, allocations: 4 kB / 482.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1094, allocations: 61.12 kB / 482.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1094, allocations: 4 kB / 482.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1094, allocations: 0 / 482.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1094, allocations: 3.984 kB / 482.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1096, allocations: 161.6 kB / 482.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1096, allocations: 192 / 482.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.1096, allocations: 12 kB / 482.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1096, allocations: 0 / 482.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1096, allocations: 0 / 482.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1096, allocations: 0 / 482.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1096, allocations: 0 / 482.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1098, allocations: 159.4 kB / 482.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.1098, allocations: 81.02 kB / 482.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1098, allocations: 4 kB / 482.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.1099, allocations: 0 / 482.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1099, allocations: 7.984 kB / 482.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1099, allocations: 7.938 kB / 482.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.11, allocations: 79.28 kB / 482.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.11, allocations: 0 / 482.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1102, allocations: 4 kB / 482.7 MB, free: 1.973 MB / 350.1 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 (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.000424/0.1106, allocations: 0.6813 MB / 483.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1107, allocations: 27.92 kB / 483.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1108, allocations: 0 / 483.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.1108, allocations: 16 kB / 483.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.111, allocations: 0 / 483.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.1114, allocations: 148.4 kB / 483.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1117, allocations: 0.677 MB / 484.2 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.1118, allocations: 7.984 kB / 484.2 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1118, allocations: 11.44 kB / 484.2 MB, free: 320 kB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1118, allocations: 0 / 484.2 MB, free: 320 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1357, allocations: 1.145 MB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.1359, allocations: 209.4 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.81, allocations: 3.5 kB / 485.6 MB, free: 15.02 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches