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.00159/0.00159, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001473/0.001473, allocations: 187.9 kB / 18.71 MB, free: 4.367 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2123/0.2123, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3487, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001528/0.3503, allocations: 0.5043 MB / 0.5189 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002684/0.3505, allocations: 92.12 kB / 0.519 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.3506, allocations: 0 / 0.519 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.3506, allocations: 3.938 kB / 0.519 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.86e-05/0.3506, allocations: 4 kB / 0.519 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3508, allocations: 18.78 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.3509, allocations: 11.91 kB / 0.519 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.3509, allocations: 6.641 kB / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.351, allocations: 4.312 kB / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.351, allocations: 8.375 kB / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.351, allocations: 1.062 kB / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.3511, allocations: 31.97 kB / 0.5191 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.3511, allocations: 0.7031 kB / 0.5191 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.3512, allocations: 11.47 kB / 0.5191 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.783e-05/0.3513, allocations: 36.25 kB / 0.5191 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3513, allocations: 3.938 kB / 0.5191 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3513, allocations: 0 / 0.5191 GB, free: 2.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3513, allocations: 1.375 kB / 0.5191 GB, free: 2.863 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.0002905/0.3516, allocations: 326.4 kB / 0.5194 GB, free: 2.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3516, allocations: 10.84 kB / 0.5194 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.333e-05/0.3517, allocations: 32.56 kB / 0.5195 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.3517, allocations: 2.031 kB / 0.5195 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.141e-05/0.3518, allocations: 165.1 kB / 0.5196 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3518, allocations: 5.5 kB / 0.5196 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3518, allocations: 1.5 kB / 0.5196 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3519, allocations: 60.12 kB / 0.5197 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3519, allocations: 3.938 kB / 0.5197 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3519, allocations: 1.125 kB / 0.5197 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.352, allocations: 0 / 0.5197 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.352, allocations: 9.344 kB / 0.5197 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.3522, allocations: 330.2 kB / 0.52 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.3523, allocations: 28.83 kB / 0.5201 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.3523, allocations: 16 kB / 0.5201 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.3523, allocations: 1.953 kB / 0.5201 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.3524, allocations: 30.56 kB / 0.5201 GB, free: 1.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3524, allocations: 5.094 kB / 0.5201 GB, free: 1.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001685/0.3525, allocations: 58.11 kB / 0.5202 GB, free: 1.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.3526, allocations: 51.97 kB / 0.5202 GB, free: 1.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.344e-05/0.3526, allocations: 94.7 kB / 0.5203 GB, free: 1.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.3526, allocations: 25.7 kB / 0.5203 GB, free: 1.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.3527, allocations: 82 kB / 0.5204 GB, free: 1.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.3527, allocations: 18.36 kB / 0.5204 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.3527, allocations: 18.83 kB / 0.5204 GB, free: 1.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.3528, allocations: 317.4 kB / 0.5207 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.3528, allocations: 8.094 kB / 0.5207 GB, free: 1.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.3528, allocations: 21.58 kB / 0.5208 GB, free: 1.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.3529, allocations: 37.77 kB / 0.5208 GB, free: 1.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3529, allocations: 7.875 kB / 0.5208 GB, free: 1.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.969e-05/0.3529, allocations: 50.19 kB / 0.5209 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.353, allocations: 5.25 kB / 0.5209 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.353, allocations: 4.938 kB / 0.5209 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.353, allocations: 1.891 kB / 0.5209 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.3531, allocations: 11.92 kB / 0.5209 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3531, allocations: 0.8438 kB / 0.5209 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.3531, allocations: 5.188 kB / 0.5209 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3531, allocations: 2.484 kB / 0.5209 GB, free: 0.9805 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 4.549e-05/0.3532, allocations: 115.6 kB / 0.521 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.3532, allocations: 5.75 kB / 0.521 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.3533, allocations: 69.56 kB / 0.5211 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3533, allocations: 1.891 kB / 0.5211 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3533, allocations: 3.938 kB / 0.5211 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3533, allocations: 0.6562 kB / 0.5211 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3534, allocations: 159 kB / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3534, allocations: 0 / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.3535, allocations: 8.328 kB / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3535, allocations: 0 / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3535, allocations: 1.875 kB / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3535, allocations: 0 / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3535, allocations: 0 / 0.5212 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.009e-05/0.3536, allocations: 156.7 kB / 0.5214 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3536, allocations: 86.88 kB / 0.5215 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.3537, allocations: 2 kB / 0.5215 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.3537, allocations: 1.281 kB / 0.5215 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3537, allocations: 3.406 kB / 0.5215 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3537, allocations: 1.25 kB / 0.5215 GB, free: 356 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.944e-05/0.3538, allocations: 86.22 kB / 0.5216 GB, free: 272 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3538, allocations: 0 / 0.5216 GB, free: 272 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.354, allocations: 9.156 kB / 0.5216 GB, free: 268 kB / 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.0003429/0.3544, allocations: 0.6807 MB / 0.5222 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3545, allocations: 25.31 kB / 0.5223 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3545, allocations: 1.406 kB / 0.5223 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.3545, allocations: 21.8 kB / 0.5223 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3547, allocations: 7.188 kB / 0.5223 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.3551, allocations: 140.4 kB / 0.5224 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3553, allocations: 0.684 MB / 0.5231 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.3554, allocations: 10.06 kB / 0.5231 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.3554, allocations: 10.3 kB / 0.5231 GB, free: 14.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3554, allocations: 1.281 kB / 0.5231 GB, free: 14.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.3735, allocations: 1.305 MB / 0.5244 GB, free: 14.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/7.592, allocations: 9.938 kB / 0.5244 GB, free: 14.32 MB / 398.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