Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008292, allocations: 91.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008854/0.0008855, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1691/0.1691, allocations: 44.24 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006077/0.1017, allocations: 226.9 kB / 472.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.1021, allocations: 115.6 kB / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.1021, allocations: 0 / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.1021, allocations: 0 / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.04e-05/0.1022, allocations: 0 / 472.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1023, allocations: 15.91 kB / 472.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.524e-05/0.1024, allocations: 8 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.1024, allocations: 4 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.1025, allocations: 3.984 kB / 472.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.1025, allocations: 11.94 kB / 472.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1026, allocations: 0 / 472.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.1026, allocations: 31.97 kB / 472.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1027, allocations: 7.984 kB / 472.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1027, allocations: 29.64 kB / 472.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.808e-05/0.1028, allocations: 31.95 kB / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1028, allocations: 0 / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1028, allocations: 0 / 472.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1028, allocations: 0 / 472.8 MB, free: 12.79 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.0003362/0.1032, allocations: 329.8 kB / 473.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1032, allocations: 8.031 kB / 473.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.1033, allocations: 30.75 kB / 473.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.1033, allocations: 8.938 kB / 473.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1034, allocations: 160.7 kB / 473.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1034, allocations: 384 / 473.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1034, allocations: 4.375 kB / 473.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1036, allocations: 55.91 kB / 473.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1036, allocations: 3.938 kB / 473.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1036, allocations: 4 kB / 473.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1036, allocations: 0 / 473.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.231e-05/0.1036, allocations: 19.98 kB / 473.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.104, allocations: 324.9 kB / 473.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.104, allocations: 34.55 kB / 473.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.1041, allocations: 12.86 kB / 473.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1041, allocations: 0 / 473.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1041, allocations: 38.56 kB / 473.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.436e-06/0.1041, allocations: 3.984 kB / 473.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.1043, allocations: 57.72 kB / 473.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1044, allocations: 51.41 kB / 474 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.1045, allocations: 93.86 kB / 474 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1045, allocations: 33.62 kB / 474.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.1045, allocations: 84.14 kB / 474.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.1045, allocations: 7.812 kB / 474.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.1046, allocations: 17.84 kB / 474.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.1047, allocations: 314.8 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.1047, allocations: 7.984 kB / 474.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.1047, allocations: 17.72 kB / 474.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.1048, allocations: 29.66 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1048, allocations: 3.938 kB / 474.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.391e-05/0.1049, allocations: 57.69 kB / 474.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1049, allocations: 8 kB / 474.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1049, allocations: 3.984 kB / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1049, allocations: 0 / 474.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.105, allocations: 15.88 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.105, allocations: 0 / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1051, allocations: 3.906 kB / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1051, allocations: 4 kB / 474.6 MB, free: 10.72 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 7.208e-05/0.1051, allocations: 117.7 kB / 474.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1052, allocations: 4.031 kB / 474.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.1053, allocations: 61.17 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1053, allocations: 0 / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1053, allocations: 192 / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1053, allocations: 4 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.1055, allocations: 169.5 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1055, allocations: 0 / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.1055, allocations: 8 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1055, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1056, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1056, allocations: 4 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1056, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.1057, allocations: 151.5 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.1057, allocations: 81.02 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1058, allocations: 4 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.1058, allocations: 0 / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1058, allocations: 7.984 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1058, allocations: 0 / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.1059, allocations: 79.28 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1059, allocations: 7.938 kB / 475.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.1061, allocations: 4 kB / 475.3 MB, free: 9.926 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.0004154/0.1065, allocations: 0.6817 MB / 476 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.1067, allocations: 39.95 kB / 476.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1067, allocations: 0 / 476.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.1067, allocations: 12 kB / 476.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1069, allocations: 4 kB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.1073, allocations: 148.3 kB / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1075, allocations: 0.677 MB / 476.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.815e-05/0.1076, allocations: 11.97 kB / 476.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.1076, allocations: 7.438 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1076, allocations: 0 / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.433/1.541, allocations: 1.085 MB / 478 MB, free: 7.305 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.541, allocations: 215.3 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/3.014, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches