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.00121/0.00121, allocations: 109.5 kB / 17.78 MB, free: 5.293 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.001124/0.001124, allocations: 188 kB / 18.71 MB, free: 4.371 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2129/0.2129, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 60.82 MB / 0.5184 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001582/0.3527, allocations: 0.5026 MB / 0.5189 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.3531, allocations: 107.5 kB / 0.519 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.3531, allocations: 0 / 0.519 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.3531, allocations: 0 / 0.519 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.3532, allocations: 1.281 kB / 0.519 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3534, allocations: 17.19 kB / 0.519 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.3535, allocations: 9.203 kB / 0.519 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.3535, allocations: 5.828 kB / 0.519 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.3536, allocations: 7.719 kB / 0.519 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.3537, allocations: 12.89 kB / 0.519 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3537, allocations: 1.375 kB / 0.519 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3538, allocations: 30.97 kB / 0.5191 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3538, allocations: 2.047 kB / 0.5191 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.3538, allocations: 10.73 kB / 0.5191 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.354, allocations: 20.28 kB / 0.5191 GB, free: 2.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.354, allocations: 3.938 kB / 0.5191 GB, free: 2.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.354, allocations: 0 / 0.5191 GB, free: 2.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.354, allocations: 4 kB / 0.5191 GB, free: 2.742 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.0004127/0.3544, allocations: 326.3 kB / 0.5194 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3545, allocations: 9.562 kB / 0.5194 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.3545, allocations: 36.98 kB / 0.5195 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.3545, allocations: 0.9375 kB / 0.5195 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3547, allocations: 165.3 kB / 0.5196 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3547, allocations: 1.656 kB / 0.5196 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.3547, allocations: 6.062 kB / 0.5196 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3548, allocations: 55.86 kB / 0.5197 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3549, allocations: 3.938 kB / 0.5197 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3549, allocations: 6.109 kB / 0.5197 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3549, allocations: 0 / 0.5197 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.3549, allocations: 8.781 kB / 0.5197 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.3552, allocations: 329.9 kB / 0.52 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.3553, allocations: 32.95 kB / 0.5201 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.3553, allocations: 21.09 kB / 0.5201 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3554, allocations: 0 / 0.5201 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3554, allocations: 32.66 kB / 0.5201 GB, free: 1.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3554, allocations: 0 / 0.5201 GB, free: 1.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.3556, allocations: 54.33 kB / 0.5202 GB, free: 1.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.3556, allocations: 51.41 kB / 0.5202 GB, free: 1.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.3557, allocations: 103.7 kB / 0.5203 GB, free: 1.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.3557, allocations: 25.7 kB / 0.5203 GB, free: 1.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.3557, allocations: 84.73 kB / 0.5204 GB, free: 1.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.3557, allocations: 19.08 kB / 0.5204 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3558, allocations: 15.28 kB / 0.5204 GB, free: 1.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3558, allocations: 316 kB / 0.5207 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.3559, allocations: 5.203 kB / 0.5207 GB, free: 0.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.3559, allocations: 25.33 kB / 0.5208 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.3559, allocations: 33.91 kB / 0.5208 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.356, allocations: 3.938 kB / 0.5208 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.35e-05/0.356, allocations: 58.64 kB / 0.5209 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3561, allocations: 4.844 kB / 0.5209 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3561, allocations: 1.328 kB / 0.5209 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3561, allocations: 8.719 kB / 0.5209 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.3562, allocations: 7.797 kB / 0.5209 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3562, allocations: 6.188 kB / 0.5209 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.3562, allocations: 5.344 kB / 0.5209 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.3562, allocations: 1.406 kB / 0.5209 GB, free: 0.8438 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 5.437e-05/0.3563, allocations: 116 kB / 0.521 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3563, allocations: 1.188 kB / 0.521 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.3564, allocations: 61.42 kB / 0.5211 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3564, allocations: 1.219 kB / 0.5211 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3564, allocations: 0.7969 kB / 0.5211 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3565, allocations: 5.281 kB / 0.5211 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3566, allocations: 162.5 kB / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3566, allocations: 0 / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.3566, allocations: 7.578 kB / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3567, allocations: 2.234 kB / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3567, allocations: 0 / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3567, allocations: 1.469 kB / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3567, allocations: 0 / 0.5212 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3568, allocations: 152.9 kB / 0.5214 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.3568, allocations: 86.55 kB / 0.5215 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3568, allocations: 5.406 kB / 0.5215 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.3569, allocations: 2.766 kB / 0.5215 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.3569, allocations: 6.812 kB / 0.5215 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.3569, allocations: 0 / 0.5215 GB, free: 220 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.357, allocations: 78.06 kB / 0.5216 GB, free: 144 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.357, allocations: 0 / 0.5216 GB, free: 144 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3572, allocations: 5.844 kB / 0.5216 GB, free: 144 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.0004283/0.3576, allocations: 0.685 MB / 0.5222 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3578, allocations: 31.47 kB / 0.5223 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3578, allocations: 3.938 kB / 0.5223 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.3578, allocations: 8.688 kB / 0.5223 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.358, allocations: 10.16 kB / 0.5223 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.3584, allocations: 144.8 kB / 0.5224 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3587, allocations: 0.6802 MB / 0.5231 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.3588, allocations: 7.656 kB / 0.5231 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.3588, allocations: 9.594 kB / 0.5231 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3588, allocations: 0 / 0.5231 GB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.3768, allocations: 1.314 MB / 0.5244 GB, free: 14.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.767, allocations: 2.25 kB / 0.5244 GB, free: 14.21 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