Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.6 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007976/0.0007975, allocations: 97.47 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3101/0.3101, allocations: 44.81 MB / 392.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002533, allocations: 8 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2784, allocations: 62.95 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005029/0.279, allocations: 269.9 kB / 0.5161 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005077/0.2795, allocations: 376.2 kB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.2795, allocations: 0 / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.041e-05/0.2795, allocations: 3.938 kB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.2796, allocations: 3.938 kB / 0.5165 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.2799, allocations: 92.62 kB / 0.5166 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.28, allocations: 29.23 kB / 0.5166 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.28, allocations: 2.562 kB / 0.5166 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.28, allocations: 5.844 kB / 0.5166 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.2801, allocations: 29.08 kB / 0.5166 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.2801, allocations: 2.969 kB / 0.5166 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.2803, allocations: 149.3 kB / 0.5168 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.2803, allocations: 11.86 kB / 0.5168 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.2804, allocations: 40.8 kB / 0.5168 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2805, allocations: 76.91 kB / 0.5169 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2805, allocations: 0 / 0.5169 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2805, allocations: 0 / 0.5169 GB, free: 36.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.2805, allocations: 0 / 0.5169 GB, free: 36.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002772/0.2808, allocations: 362 kB / 0.5173 GB, free: 36.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.2808, allocations: 16 kB / 0.5173 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.2809, allocations: 7.688 kB / 0.5173 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.2809, allocations: 160.4 kB / 0.5174 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2809, allocations: 3.312 kB / 0.5174 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.281, allocations: 10.94 kB / 0.5174 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.2811, allocations: 56.69 kB / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2811, allocations: 6.781 kB / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.2811, allocations: 0 / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2811, allocations: 0 / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.2812, allocations: 35.83 kB / 0.5175 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.2813, allocations: 165 kB / 0.5177 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2815, allocations: 59.41 kB / 0.5178 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.2815, allocations: 25.64 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.2817, allocations: 119.2 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.2817, allocations: 30.56 kB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.2818, allocations: 0 / 0.5179 GB, free: 35.68 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1164/0.3981, allocations: 6.629 MB / 0.5244 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.3982, allocations: 51.41 kB / 0.5244 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.3983, allocations: 110.9 kB / 0.5245 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3983, allocations: 32.86 kB / 0.5246 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.884e-05/0.3983, allocations: 80.14 kB / 0.5247 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.3984, allocations: 67.53 kB / 0.5247 GB, free: 34.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.3984, allocations: 6.969 kB / 0.5247 GB, free: 34.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.3985, allocations: 318.2 kB / 0.525 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.399, allocations: 248.8 kB / 0.5253 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.3994, allocations: 244.6 kB / 0.5255 GB, free: 33.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.4013, allocations: 0.5829 MB / 0.5261 GB, free: 33.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4013, allocations: 4 kB / 0.5261 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001642/0.403, allocations: 0.6364 MB / 0.5267 GB, free: 33.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.403, allocations: 5.156 kB / 0.5267 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.403, allocations: 3.672 kB / 0.5267 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.403, allocations: 0 / 0.5267 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.4037, allocations: 123.8 kB / 0.5268 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4037, allocations: 0 / 0.5268 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.4041, allocations: 38.58 kB / 0.5269 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.4042, allocations: 29.89 kB / 0.5269 GB, free: 33.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4043, allocations: 125.6 kB / 0.527 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.4044, allocations: 10.02 kB / 0.527 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.4064, allocations: 0.7557 MB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.4064, allocations: 2.781 kB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4065, allocations: 0.6562 kB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4065, allocations: 3.609 kB / 0.5278 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.4102, allocations: 1.223 MB / 0.529 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4102, allocations: 0 / 0.529 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.4108, allocations: 105.8 kB / 0.5291 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4108, allocations: 7.469 kB / 0.5291 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.4109, allocations: 29.5 kB / 0.5291 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4109, allocations: 3.5 kB / 0.5291 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4109, allocations: 6.656 kB / 0.5291 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4124, allocations: 0.6105 MB / 0.5297 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.4124, allocations: 87.41 kB / 0.5298 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.4125, allocations: 7.297 kB / 0.5298 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.4129, allocations: 32.88 kB / 0.5298 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.4129, allocations: 20.44 kB / 0.5298 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.413, allocations: 30.73 kB / 0.5299 GB, free: 32.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.564e-05/0.413, allocations: 84.77 kB / 0.5299 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.413, allocations: 4 kB / 0.53 GB, free: 32.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00155/0.4146, allocations: 0.6482 MB / 0.5306 GB, free: 32.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002944/0.4175, allocations: 299.6 kB / 0.5309 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.4186, allocations: 481 kB / 0.5313 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4186, allocations: 3.938 kB / 0.5313 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.4191, allocations: 212.1 kB / 0.5315 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.4194, allocations: 19.56 kB / 0.5316 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.4217, allocations: 0.6199 MB / 0.5322 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.4218, allocations: 0.6987 MB / 0.5328 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.4221, allocations: 88.2 kB / 0.5329 GB, free: 30.74 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4221, allocations: 0 / 0.5329 GB, free: 30.74 MB / 378.7 MB Notification: Performance of Templates: time 0.02346/0.4456, allocations: 15.99 MB / 0.5485 GB, free: 23.27 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches