Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_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.001336/0.001336, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001396/0.001396, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1191, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001585/0.1207, allocations: 0.5062 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.121, allocations: 92.56 kB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1211, allocations: 0 / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.1211, allocations: 4 kB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.087e-05/0.1212, allocations: 0 / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.1214, allocations: 19.86 kB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.1214, allocations: 15.97 kB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1215, allocations: 4 kB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.1215, allocations: 0 / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.1216, allocations: 15.92 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1216, allocations: 4 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.1217, allocations: 31.97 kB / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1217, allocations: 4 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.1217, allocations: 7.938 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.163e-05/0.1218, allocations: 27.94 kB / 499.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1218, allocations: 0 / 499.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1218, allocations: 0 / 499.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1218, allocations: 0 / 499.8 MB, free: 11.59 MB / 382.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.000387/0.1222, allocations: 331.4 kB / 0.4884 GB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1223, allocations: 19.89 kB / 0.4884 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.1223, allocations: 30.75 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1224, allocations: 4.938 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1225, allocations: 172.3 kB / 0.4886 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1225, allocations: 4.375 kB / 0.4886 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1225, allocations: 384 / 0.4886 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1226, allocations: 55.91 kB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1226, allocations: 3.938 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1227, allocations: 3.938 kB / 0.4887 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1227, allocations: 8 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.1227, allocations: 11.94 kB / 0.4887 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.123, allocations: 321.2 kB / 0.489 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.737e-05/0.1231, allocations: 26.52 kB / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.1231, allocations: 16.86 kB / 0.4891 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1232, allocations: 4 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1232, allocations: 38.58 kB / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1232, allocations: 4 kB / 0.4891 GB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001749/0.1234, allocations: 57.59 kB / 0.4892 GB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1234, allocations: 51.41 kB / 0.4892 GB, free: 10.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.1235, allocations: 89.86 kB / 0.4893 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1235, allocations: 33.7 kB / 0.4893 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.1236, allocations: 84.27 kB / 0.4894 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1236, allocations: 11.75 kB / 0.4894 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.1236, allocations: 21.7 kB / 0.4894 GB, free: 9.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1237, allocations: 310.8 kB / 0.4897 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.1238, allocations: 8 kB / 0.4897 GB, free: 9.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.1238, allocations: 25.64 kB / 0.4898 GB, free: 9.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.1239, allocations: 33.89 kB / 0.4898 GB, free: 9.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1239, allocations: 7.938 kB / 0.4898 GB, free: 9.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.683e-05/0.124, allocations: 53.62 kB / 0.4898 GB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.124, allocations: 4 kB / 0.4899 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.124, allocations: 0 / 0.4899 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.124, allocations: 0 / 0.4899 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.1241, allocations: 8 kB / 0.4899 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1241, allocations: 3.984 kB / 0.4899 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.1242, allocations: 8 kB / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1242, allocations: 0 / 0.4899 GB, free: 9.504 MB / 382.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.067e-05/0.1242, allocations: 121.8 kB / 0.49 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1243, allocations: 3.906 kB / 0.49 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.1244, allocations: 65.12 kB / 0.4901 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1244, allocations: 0 / 0.4901 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1244, allocations: 4.125 kB / 0.4901 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1244, allocations: 4 kB / 0.4901 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1246, allocations: 157.6 kB / 0.4902 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1246, allocations: 4 kB / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.1247, allocations: 7.984 kB / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1247, allocations: 4 kB / 0.4902 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1247, allocations: 0 / 0.4902 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1247, allocations: 4 kB / 0.4902 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1247, allocations: 0 / 0.4902 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1248, allocations: 159.4 kB / 0.4904 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.1249, allocations: 77.11 kB / 0.4905 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1249, allocations: 4 kB / 0.4905 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.125, allocations: 0 / 0.4905 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.125, allocations: 4 kB / 0.4905 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.125, allocations: 4 kB / 0.4905 GB, free: 8.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.1251, allocations: 83.27 kB / 0.4905 GB, free: 8.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1251, allocations: 0 / 0.4905 GB, free: 8.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1253, allocations: 4 kB / 0.4906 GB, free: 8.699 MB / 382.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.0004131/0.1257, allocations: 0.6929 MB / 0.4912 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1258, allocations: 27.92 kB / 0.4913 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1258, allocations: 0 / 0.4913 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.1259, allocations: 12 kB / 0.4913 GB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1261, allocations: 7.438 kB / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.1265, allocations: 148.7 kB / 0.4914 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1267, allocations: 0.6768 MB / 0.4921 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.277e-05/0.1267, allocations: 8.062 kB / 0.4921 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1268, allocations: 15.42 kB / 0.4921 GB, free: 7.023 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1268, allocations: 0 / 0.4921 GB, free: 7.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.1428, allocations: 1.302 MB / 0.4934 GB, free: 5.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.549, allocations: 4.062 kB / 0.4934 GB, free: 5.715 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches