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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, 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.001725/0.001725, allocations: 183.9 kB / 18.7 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.203/0.203, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001673/0.3188, allocations: 0.5099 MB / 0.5194 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.3191, allocations: 93.23 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.3191, allocations: 1.094 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3192, allocations: 3.938 kB / 0.5195 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.104e-05/0.3192, allocations: 4 kB / 0.5195 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.3194, allocations: 17.91 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.3195, allocations: 11.56 kB / 0.5195 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.3195, allocations: 7.609 kB / 0.5195 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.3196, allocations: 3.266 kB / 0.5195 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.3196, allocations: 8.969 kB / 0.5195 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.3197, allocations: 1.031 kB / 0.5195 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.813e-05/0.3198, allocations: 31.91 kB / 0.5196 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.3198, allocations: 1.984 kB / 0.5196 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.3198, allocations: 9.797 kB / 0.5196 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.285e-05/0.3199, allocations: 31.56 kB / 0.5196 GB, free: 3.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3199, allocations: 1.062 kB / 0.5196 GB, free: 3.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3199, allocations: 3.938 kB / 0.5196 GB, free: 3.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3199, allocations: 0 / 0.5196 GB, free: 3.168 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.0002912/0.3202, allocations: 326.3 kB / 0.5199 GB, free: 2.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3203, allocations: 9.25 kB / 0.5199 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.3203, allocations: 2.688 kB / 0.5199 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.756e-05/0.3204, allocations: 162.6 kB / 0.5201 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.3204, allocations: 5.5 kB / 0.5201 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3204, allocations: 5.609 kB / 0.5201 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3205, allocations: 55.61 kB / 0.5201 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3205, allocations: 0.9375 kB / 0.5201 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3205, allocations: 5.062 kB / 0.5201 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3205, allocations: 1.156 kB / 0.5201 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.3206, allocations: 11.69 kB / 0.5202 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.3208, allocations: 329.5 kB / 0.5205 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.3209, allocations: 33.17 kB / 0.5205 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3209, allocations: 13.08 kB / 0.5205 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3209, allocations: 0.5625 kB / 0.5205 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.3209, allocations: 40.17 kB / 0.5206 GB, free: 2.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3209, allocations: 0 / 0.5206 GB, free: 2.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001568/0.3211, allocations: 54.86 kB / 0.5206 GB, free: 2.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.3211, allocations: 55.86 kB / 0.5207 GB, free: 1.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.3212, allocations: 98.83 kB / 0.5208 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.3212, allocations: 25.7 kB / 0.5208 GB, free: 1.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.3212, allocations: 81.97 kB / 0.5209 GB, free: 1.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.3212, allocations: 9.859 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.3213, allocations: 18.5 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.3213, allocations: 321.5 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.3213, allocations: 5.922 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.3214, allocations: 20.05 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.3214, allocations: 34.27 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3214, allocations: 0 / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.867e-05/0.3215, allocations: 61.34 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3215, allocations: 6.125 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3215, allocations: 4.938 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3215, allocations: 5.312 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.3216, allocations: 7.984 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3216, allocations: 1.219 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.3216, allocations: 5.906 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3216, allocations: 5.219 kB / 0.5213 GB, free: 1.32 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.292e-05/0.3217, allocations: 116 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3217, allocations: 2.031 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3218, allocations: 59.44 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3218, allocations: 4 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3219, allocations: 1.469 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3219, allocations: 0.75 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.322, allocations: 162.6 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.322, allocations: 0 / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.322, allocations: 8.516 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.322, allocations: 3.938 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3221, allocations: 5.969 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3221, allocations: 0 / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3221, allocations: 0 / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.3222, allocations: 153.9 kB / 0.5218 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.3222, allocations: 86.89 kB / 0.5219 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3222, allocations: 128 / 0.5219 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.891e-05/0.3223, allocations: 9.922 kB / 0.5219 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.3223, allocations: 3.297 kB / 0.5219 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3223, allocations: 1.938 kB / 0.5219 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.83e-05/0.3223, allocations: 76.53 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3224, allocations: 8.031 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3226, allocations: 6.562 kB / 0.522 GB, free: 0.6055 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.0001043/0.3227, allocations: 101.2 kB / 0.5221 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3228, allocations: 25.53 kB / 0.5221 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3228, allocations: 0 / 0.5221 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.3228, allocations: 14.75 kB / 0.5222 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3231, allocations: 6.25 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.3233, allocations: 119 kB / 0.5223 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3235, allocations: 0.6879 MB / 0.5229 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.3235, allocations: 3.469 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3236, allocations: 9.672 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3236, allocations: 1.406 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Templates: time 0.002341/0.3259, allocations: 464.9 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/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