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.001111/0.001112, allocations: 107 kB / 17.33 MB, free: 6.023 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.001048/0.001048, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.317/1.317, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.18 MB / 336.3 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 61.34 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.1, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001532/0.1016, allocations: 0.5605 MB / 469.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.1019, allocations: 102 kB / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.1019, allocations: 0 / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.1019, allocations: 0 / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.656e-05/0.1019, allocations: 3.938 kB / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.1021, allocations: 11.98 kB / 469.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.1022, allocations: 7.984 kB / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.1022, allocations: 8 kB / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.1022, allocations: 8 kB / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.1023, allocations: 7.922 kB / 469.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1023, allocations: 0 / 469.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.1024, allocations: 31.97 kB / 469.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1024, allocations: 3.984 kB / 469.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.1025, allocations: 7.938 kB / 469.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.063e-05/0.1025, allocations: 23.97 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1025, allocations: 3.938 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1026, allocations: 0 / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1026, allocations: 4 kB / 469.6 MB, free: 13.86 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.0003414/0.1029, allocations: 331.5 kB / 469.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.103, allocations: 8.031 kB / 469.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.103, allocations: 38.73 kB / 470 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.103, allocations: 4.938 kB / 470 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.1031, allocations: 160.7 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1031, allocations: 384 / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1031, allocations: 4.375 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1032, allocations: 51.97 kB / 470.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1033, allocations: 3.938 kB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1033, allocations: 7.938 kB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1033, allocations: 0 / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.1033, allocations: 12 kB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.1036, allocations: 329 kB / 470.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.1037, allocations: 38.45 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.1037, allocations: 12.94 kB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1037, allocations: 0 / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1038, allocations: 38.56 kB / 470.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1038, allocations: 0 / 470.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001597/0.1039, allocations: 49.88 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.104, allocations: 51.41 kB / 470.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.104, allocations: 101.9 kB / 470.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1041, allocations: 25.7 kB / 470.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.1041, allocations: 84.08 kB / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.1041, allocations: 15.78 kB / 470.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.1041, allocations: 17.72 kB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.1042, allocations: 318.8 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.1043, allocations: 4 kB / 471.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.1043, allocations: 25.83 kB / 471.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/0.1044, allocations: 33.64 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1044, allocations: 3.938 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.102e-05/0.1045, allocations: 61.53 kB / 471.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1045, allocations: 4 kB / 471.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1045, allocations: 0 / 471.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1045, allocations: 7.938 kB / 471.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.1046, allocations: 7.984 kB / 471.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1046, allocations: 8.031 kB / 471.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1046, allocations: 0 / 471.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1046, allocations: 128 / 471.4 MB, free: 11.79 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 6.529e-05/0.1047, allocations: 125.7 kB / 471.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1047, allocations: 0 / 471.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1048, allocations: 61.19 kB / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1048, allocations: 0 / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1049, allocations: 0 / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1049, allocations: 3.984 kB / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.105, allocations: 161.6 kB / 471.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.105, allocations: 3.984 kB / 471.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.1051, allocations: 8 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1051, allocations: 0 / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1051, allocations: 4 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1051, allocations: 0 / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1051, allocations: 0 / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1052, allocations: 155.3 kB / 471.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.1053, allocations: 85.11 kB / 472 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.1053, allocations: 0 / 472 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.1053, allocations: 4 kB / 472 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.1054, allocations: 3.984 kB / 472 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1054, allocations: 4 kB / 472 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.678e-05/0.1054, allocations: 75.28 kB / 472.1 MB, free: 11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1054, allocations: 0 / 472.1 MB, free: 11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1056, allocations: 8 kB / 472.1 MB, free: 10.99 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.0003455/0.106, allocations: 0.6857 MB / 472.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.1061, allocations: 28.17 kB / 472.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1061, allocations: 0 / 472.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.1061, allocations: 15.94 kB / 472.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1063, allocations: 11.94 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.1067, allocations: 158.5 kB / 473 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1069, allocations: 0.6767 MB / 473.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.107, allocations: 11.92 kB / 473.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.107, allocations: 7.438 kB / 473.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.107, allocations: 0 / 473.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009636/0.1167, allocations: 1.18 MB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.1169, allocations: 212.6 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.871, allocations: 0 / 475.1 MB, free: 8.004 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