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.001304/0.001304, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001002/0.001002, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1977/0.1977, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001499/0.3115, allocations: 0.5052 MB / 0.5194 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002513/0.3118, allocations: 98.5 kB / 0.5195 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.3118, allocations: 0 / 0.5195 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.3118, allocations: 5.125 kB / 0.5195 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.746e-05/0.3118, allocations: 0 / 0.5195 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.312, allocations: 12.84 kB / 0.5195 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.3121, allocations: 12.23 kB / 0.5195 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.3121, allocations: 7 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.3122, allocations: 3.641 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.3122, allocations: 12.38 kB / 0.5195 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3122, allocations: 1.344 kB / 0.5195 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.382e-05/0.3123, allocations: 32.47 kB / 0.5196 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.3123, allocations: 1.266 kB / 0.5196 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3124, allocations: 9.984 kB / 0.5196 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.607e-05/0.3124, allocations: 28.89 kB / 0.5196 GB, free: 3.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3125, allocations: 0 / 0.5196 GB, free: 3.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3125, allocations: 3.938 kB / 0.5196 GB, free: 3.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3125, allocations: 0 / 0.5196 GB, free: 3.191 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.0003012/0.3128, allocations: 334.4 kB / 0.5199 GB, free: 2.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3128, allocations: 9.125 kB / 0.5199 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.3128, allocations: 6.734 kB / 0.5199 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.3129, allocations: 162.7 kB / 0.5201 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3129, allocations: 1.562 kB / 0.5201 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3129, allocations: 5.734 kB / 0.5201 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.313, allocations: 55.92 kB / 0.5202 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.313, allocations: 192 / 0.5202 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3131, allocations: 10.02 kB / 0.5202 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3131, allocations: 0 / 0.5202 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.3131, allocations: 12.44 kB / 0.5202 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.3134, allocations: 318.7 kB / 0.5205 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.3134, allocations: 27.41 kB / 0.5205 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.3134, allocations: 16.95 kB / 0.5205 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3135, allocations: 4.703 kB / 0.5205 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.3135, allocations: 30.56 kB / 0.5206 GB, free: 2.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3135, allocations: 1.781 kB / 0.5206 GB, free: 2.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.3136, allocations: 53.27 kB / 0.5206 GB, free: 2.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.3137, allocations: 57.5 kB / 0.5207 GB, free: 2.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.048e-05/0.3137, allocations: 93.2 kB / 0.5208 GB, free: 1.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.3137, allocations: 30.64 kB / 0.5208 GB, free: 1.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.3137, allocations: 88.83 kB / 0.5209 GB, free: 1.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.3137, allocations: 15.16 kB / 0.5209 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.3138, allocations: 18.77 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.3138, allocations: 313 kB / 0.5212 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.3138, allocations: 9.625 kB / 0.5212 GB, free: 1.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.3139, allocations: 16.03 kB / 0.5212 GB, free: 1.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.3139, allocations: 37.08 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3139, allocations: 1.219 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.317e-05/0.314, allocations: 57.84 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.314, allocations: 5.688 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.314, allocations: 4.688 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.314, allocations: 1.125 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.3141, allocations: 11.97 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3141, allocations: 1.219 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.3141, allocations: 1.219 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3141, allocations: 2.859 kB / 0.5213 GB, free: 1.352 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.407e-05/0.3142, allocations: 119.5 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.3142, allocations: 5.094 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3143, allocations: 66.36 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3143, allocations: 1.125 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3143, allocations: 0 / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3143, allocations: 0.6094 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3144, allocations: 166.8 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3144, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.3144, allocations: 8.062 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3144, allocations: 5.266 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3145, allocations: 4.641 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3145, allocations: 1.219 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3145, allocations: 0 / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.031e-05/0.3145, allocations: 157.2 kB / 0.5219 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.3146, allocations: 78.8 kB / 0.5219 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.3146, allocations: 1.094 kB / 0.5219 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.3146, allocations: 0.7031 kB / 0.5219 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.3147, allocations: 7.344 kB / 0.5219 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3147, allocations: 5.188 kB / 0.5219 GB, free: 0.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.555e-05/0.3147, allocations: 77.88 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3147, allocations: 0 / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3149, allocations: 5.766 kB / 0.522 GB, free: 0.6328 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 9.152e-05/0.315, allocations: 101.1 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3151, allocations: 30.05 kB / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3151, allocations: 4.156 kB / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.3151, allocations: 8.922 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3153, allocations: 10.25 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.3155, allocations: 103.4 kB / 0.5223 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.3157, allocations: 0.6848 MB / 0.5229 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.3157, allocations: 7.016 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3157, allocations: 10.17 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3157, allocations: 0 / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of Templates: time 0.002358/0.3181, allocations: 465.5 kB / 0.5234 GB, free: 15.62 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