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.0009776/0.0009775, allocations: 97.41 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 179.2 kB / 16.92 MB, free: 6.684 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.229/1.229, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2956/0.2956, allocations: 43.57 MB / 315 MB, free: 8.832 MB / 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.0004865/0.0004865, allocations: 12 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09656, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000521/0.09711, allocations: 248.4 kB / 443.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000275/0.0974, allocations: 93.42 kB / 443.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.09742, allocations: 0 / 443.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.09744, allocations: 0 / 443.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.87e-05/0.09747, allocations: 0 / 443.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.09762, allocations: 19.91 kB / 443.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.09767, allocations: 11.94 kB / 443.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.09772, allocations: 7.984 kB / 443.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.09775, allocations: 0 / 443.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.0978, allocations: 11.94 kB / 443.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.09782, allocations: 4 kB / 443.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.09791, allocations: 35.95 kB / 444 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.09793, allocations: 4 kB / 444 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.09797, allocations: 29.64 kB / 444 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.276e-05/0.09806, allocations: 23.95 kB / 444 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09807, allocations: 4 kB / 444 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.09808, allocations: 0 / 444 MB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.09809, allocations: 3.938 kB / 444 MB, free: 12.11 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.0003267/0.09842, allocations: 327.8 kB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.09847, allocations: 8.031 kB / 444.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.09851, allocations: 34.75 kB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.09854, allocations: 0.9375 kB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.09865, allocations: 168.3 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.09867, allocations: 4.359 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.09868, allocations: 384 / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.09881, allocations: 59.91 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.09883, allocations: 7.922 kB / 444.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.09884, allocations: 11.94 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.09885, allocations: 0 / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.0989, allocations: 4 kB / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.09919, allocations: 325.1 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.09926, allocations: 30.52 kB / 445 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.09931, allocations: 16.86 kB / 445 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.09933, allocations: 0 / 445 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.09936, allocations: 34.56 kB / 445 MB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.09937, allocations: 0 / 445 MB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001713/0.09954, allocations: 57.62 kB / 445.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.09959, allocations: 55.41 kB / 445.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.09967, allocations: 97.84 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.09969, allocations: 25.7 kB / 445.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.09973, allocations: 84.27 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.09975, allocations: 11.81 kB / 445.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.09978, allocations: 13.72 kB / 445.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.09989, allocations: 314.8 kB / 445.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.09992, allocations: 8 kB / 445.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.09995, allocations: 17.72 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.1, allocations: 37.64 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1, allocations: 3.938 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.361e-05/0.1001, allocations: 53.69 kB / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1001, allocations: 8 kB / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1002, allocations: 0 / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1002, allocations: 0 / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1002, allocations: 11.94 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1003, allocations: 3.984 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.1003, allocations: 3.938 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1003, allocations: 4.125 kB / 445.8 MB, free: 10.04 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 6.966e-05/0.1004, allocations: 117.8 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1004, allocations: 7.906 kB / 446 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1005, allocations: 61.19 kB / 446 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1005, allocations: 3.938 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1005, allocations: 0 / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1006, allocations: 4 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1007, allocations: 161.5 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1007, allocations: 0 / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.1008, allocations: 11.94 kB / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1008, allocations: 4 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1008, allocations: 4 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1008, allocations: 0 / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1008, allocations: 0 / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1009, allocations: 151.5 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.101, allocations: 81.33 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.101, allocations: 0 / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.101, allocations: 0 / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1011, allocations: 15.98 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1011, allocations: 0 / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.204e-05/0.1011, allocations: 75.28 kB / 446.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1012, allocations: 0 / 446.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1014, allocations: 8 kB / 446.5 MB, free: 9.246 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.0003824/0.1018, allocations: 0.7084 MB / 447.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.038e-05/0.1019, allocations: 24.12 kB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1019, allocations: 0 / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.1019, allocations: 23.98 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1021, allocations: 4 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.1025, allocations: 140.4 kB / 447.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1027, allocations: 0.6771 MB / 448.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.1027, allocations: 11.94 kB / 448.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.1028, allocations: 11.44 kB / 448.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1028, allocations: 0 / 448.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009626/0.1124, allocations: 1.074 MB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.1126, allocations: 208.4 kB / 449.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.678, allocations: 0 / 449.4 MB, free: 6.258 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches