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.0009519/0.0009519, allocations: 201.8 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007464/0.0007464, allocations: 93.44 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 44.85 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002363, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07829, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005361/0.07886, allocations: 258 kB / 0.5156 GB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000588/0.07946, allocations: 383.3 kB / 0.5159 GB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.07949, allocations: 0 / 0.5159 GB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.07952, allocations: 3.938 kB / 0.5159 GB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.07955, allocations: 0 / 0.5159 GB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.07988, allocations: 91.77 kB / 0.516 GB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.07993, allocations: 27.92 kB / 0.5161 GB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.07997, allocations: 4 kB / 0.5161 GB, free: 2.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.08, allocations: 11.98 kB / 0.5161 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.08005, allocations: 15.92 kB / 0.5161 GB, free: 1.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.08007, allocations: 4 kB / 0.5161 GB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.08029, allocations: 155.8 kB / 0.5162 GB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.08031, allocations: 11.98 kB / 0.5162 GB, free: 1.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.08034, allocations: 29.64 kB / 0.5163 GB, free: 1.789 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.08047, allocations: 75.88 kB / 0.5163 GB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.08048, allocations: 0 / 0.5163 GB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.08048, allocations: 0 / 0.5163 GB, free: 1.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.08049, allocations: 3.938 kB / 0.5164 GB, free: 1.711 MB / 346.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.0003346/0.08083, allocations: 363.5 kB / 0.5167 GB, free: 1.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.08087, allocations: 8.031 kB / 0.5167 GB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.0809, allocations: 4 kB / 0.5167 GB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.081, allocations: 175 kB / 0.5169 GB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.08102, allocations: 0 / 0.5169 GB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.08105, allocations: 4 kB / 0.5169 GB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.08116, allocations: 53.62 kB / 0.5169 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.08118, allocations: 3.906 kB / 0.5169 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.08119, allocations: 3.984 kB / 0.5169 GB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.08121, allocations: 8 kB / 0.5169 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.08127, allocations: 27.98 kB / 0.517 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.08142, allocations: 169.6 kB / 0.5171 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.08161, allocations: 66.56 kB / 0.5172 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.08166, allocations: 20.86 kB / 0.5172 GB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.08193, allocations: 125.1 kB / 0.5173 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.08196, allocations: 30.56 kB / 0.5174 GB, free: 500 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.08197, allocations: 0 / 0.5174 GB, free: 500 kB / 346.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.2839/0.3658, allocations: 6.599 MB / 0.5238 GB, free: 11.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3659, allocations: 53.53 kB / 0.5239 GB, free: 11.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.3659, allocations: 105.5 kB / 0.524 GB, free: 11.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/0.366, allocations: 29.48 kB / 0.524 GB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.366, allocations: 83.09 kB / 0.5241 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.3661, allocations: 69.67 kB / 0.5241 GB, free: 10.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3661, allocations: 2.438 kB / 0.5241 GB, free: 10.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.3662, allocations: 324.5 kB / 0.5244 GB, free: 10.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.3668, allocations: 243.2 kB / 0.5247 GB, free: 10.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.3673, allocations: 246.9 kB / 0.5249 GB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.3683, allocations: 300.8 kB / 0.5252 GB, free: 10.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3683, allocations: 0 / 0.5252 GB, free: 10.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001663/0.37, allocations: 0.6339 MB / 0.5258 GB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.37, allocations: 4.969 kB / 0.5258 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.37, allocations: 4 kB / 0.5258 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.37, allocations: 6.859 kB / 0.5258 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.3707, allocations: 112.5 kB / 0.5259 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3707, allocations: 8.984 kB / 0.526 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.3711, allocations: 37.33 kB / 0.526 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.3712, allocations: 31.27 kB / 0.526 GB, free: 10.2 MB / 346.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.0001144/0.3713, allocations: 118.4 kB / 0.5261 GB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.3714, allocations: 12.03 kB / 0.5261 GB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.3735, allocations: 0.762 MB / 0.5269 GB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3735, allocations: 4.891 kB / 0.5269 GB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3735, allocations: 0.6562 kB / 0.5269 GB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3736, allocations: 0.7031 kB / 0.5269 GB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.3773, allocations: 1.228 MB / 0.5281 GB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3773, allocations: 1.562 kB / 0.5281 GB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.3778, allocations: 112.7 kB / 0.5282 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3779, allocations: 3.156 kB / 0.5282 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.3779, allocations: 30.3 kB / 0.5282 GB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3779, allocations: 2.562 kB / 0.5282 GB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3779, allocations: 4.672 kB / 0.5282 GB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3794, allocations: 0.6057 MB / 0.5288 GB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.3794, allocations: 93.97 kB / 0.5289 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.3795, allocations: 10.61 kB / 0.5289 GB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.3799, allocations: 28.47 kB / 0.529 GB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.3799, allocations: 14.55 kB / 0.529 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.38, allocations: 36.05 kB / 0.529 GB, free: 8.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.38, allocations: 86.23 kB / 0.5291 GB, free: 8.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.38, allocations: 0 / 0.5291 GB, free: 8.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001971/0.382, allocations: 0.6458 MB / 0.5297 GB, free: 8.324 MB / 346.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.00281/0.3848, allocations: 302.4 kB / 0.53 GB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.3859, allocations: 487.4 kB / 0.5305 GB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3859, allocations: 0 / 0.5305 GB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.3864, allocations: 214.2 kB / 0.5307 GB, free: 7.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3867, allocations: 13.25 kB / 0.5307 GB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.3891, allocations: 0.6161 MB / 0.5313 GB, free: 7.383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3892, allocations: 0.6943 MB / 0.532 GB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.3895, allocations: 84.95 kB / 0.532 GB, free: 6.633 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3895, allocations: 7.016 kB / 0.5321 GB, free: 6.629 MB / 346.7 MB Notification: Performance of Templates: time 0.02263/0.4121, allocations: 16 MB / 0.5477 GB, free: 12.13 MB / 362.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