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.001299/0.001299, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001127/0.001128, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.257/1.257, allocations: 222.9 MB / 243.1 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.1901/0.1901, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3274, allocations: 60.81 MB / 0.5195 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001479/0.3289, allocations: 0.5097 MB / 0.52 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.3292, allocations: 93.08 kB / 0.5201 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.3292, allocations: 0 / 0.5201 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.3292, allocations: 5.062 kB / 0.5201 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.921e-05/0.3293, allocations: 0 / 0.5201 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3295, allocations: 13.77 kB / 0.5201 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.3295, allocations: 19.58 kB / 0.5202 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.3296, allocations: 7.578 kB / 0.5202 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.3296, allocations: 3.094 kB / 0.5202 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.3297, allocations: 12.22 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3297, allocations: 1.219 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.3298, allocations: 27.92 kB / 0.5202 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.3298, allocations: 5.516 kB / 0.5202 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3298, allocations: 7.562 kB / 0.5202 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.3299, allocations: 27.77 kB / 0.5203 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3299, allocations: 0 / 0.5203 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.33, allocations: 4.594 kB / 0.5203 GB, free: 3.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.33, allocations: 0 / 0.5203 GB, free: 3.176 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.0003211/0.3303, allocations: 333.8 kB / 0.5206 GB, free: 2.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3303, allocations: 10.06 kB / 0.5206 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.3304, allocations: 2.25 kB / 0.5206 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.3305, allocations: 161.9 kB / 0.5207 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3305, allocations: 5.922 kB / 0.5207 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3305, allocations: 1.875 kB / 0.5208 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3306, allocations: 63.61 kB / 0.5208 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3306, allocations: 192 / 0.5208 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3306, allocations: 5.312 kB / 0.5208 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3306, allocations: 0 / 0.5208 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.3307, allocations: 8.984 kB / 0.5208 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.3309, allocations: 326.4 kB / 0.5211 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.331, allocations: 33.22 kB / 0.5212 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.331, allocations: 20.42 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.331, allocations: 0 / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3311, allocations: 32.42 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3311, allocations: 1.125 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.3312, allocations: 49.5 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.3313, allocations: 60.16 kB / 0.5213 GB, free: 1.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/0.3313, allocations: 98.28 kB / 0.5214 GB, free: 1.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.3313, allocations: 25.7 kB / 0.5214 GB, free: 1.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.3314, allocations: 81.78 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.3314, allocations: 15.12 kB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.3314, allocations: 14.05 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.3315, allocations: 317.1 kB / 0.5219 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.3315, allocations: 4.547 kB / 0.5219 GB, free: 1.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.3315, allocations: 22.61 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.3316, allocations: 32.55 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3316, allocations: 0 / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.968e-05/0.3317, allocations: 63.05 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3317, allocations: 8.344 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3317, allocations: 8.641 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3317, allocations: 1.25 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.3318, allocations: 8.141 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3318, allocations: 2 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.3318, allocations: 7.938 kB / 0.522 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3318, allocations: 6.312 kB / 0.522 GB, free: 1.324 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.246e-05/0.3319, allocations: 115.5 kB / 0.5221 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3319, allocations: 2.906 kB / 0.5221 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.332, allocations: 59.41 kB / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.332, allocations: 0 / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.332, allocations: 1.25 kB / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.332, allocations: 4.781 kB / 0.5222 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3321, allocations: 162.1 kB / 0.5223 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3322, allocations: 5.125 kB / 0.5223 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.3322, allocations: 7.406 kB / 0.5223 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3322, allocations: 4.875 kB / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3322, allocations: 1.219 kB / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3322, allocations: 0 / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3322, allocations: 1.094 kB / 0.5224 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.3323, allocations: 152.6 kB / 0.5225 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.3323, allocations: 83.17 kB / 0.5226 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3324, allocations: 8.703 kB / 0.5226 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.3324, allocations: 1.125 kB / 0.5226 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3325, allocations: 3.625 kB / 0.5226 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3325, allocations: 5.312 kB / 0.5226 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.672e-05/0.3325, allocations: 77.11 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3325, allocations: 0 / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.3327, allocations: 9.875 kB / 0.5227 GB, free: 0.6133 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.552e-05/0.3328, allocations: 96.89 kB / 0.5228 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.3329, allocations: 29.53 kB / 0.5228 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3329, allocations: 1.219 kB / 0.5228 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.333, allocations: 14.92 kB / 0.5228 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.3332, allocations: 6.062 kB / 0.5228 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.3334, allocations: 140.4 kB / 0.523 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.3336, allocations: 0.6884 MB / 0.5236 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.3336, allocations: 9.781 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3336, allocations: 64 / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.001904/0.3355, allocations: 0.5738 MB / 0.5242 GB, free: 15.61 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/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