Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001791/0.001792, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 112 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2992/0.2992, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3067, allocations: 62.01 MB / 0.5151 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00148/0.3082, allocations: 0.6092 MB / 0.5157 GB, free: 37.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006482/0.3088, allocations: 426.5 kB / 0.5162 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.3089, allocations: 0 / 0.5162 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.3089, allocations: 0 / 0.5162 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.31e-05/0.309, allocations: 3.938 kB / 0.5162 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.3093, allocations: 100.5 kB / 0.5163 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.3094, allocations: 23.36 kB / 0.5163 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.3094, allocations: 2.594 kB / 0.5163 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.901e-05/0.3095, allocations: 16.38 kB / 0.5163 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.3095, allocations: 20.42 kB / 0.5163 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.3095, allocations: 6.469 kB / 0.5163 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.3097, allocations: 158.2 kB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.3098, allocations: 6.812 kB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3098, allocations: 14.81 kB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.31, allocations: 123.6 kB / 0.5166 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.31, allocations: 0 / 0.5166 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.31, allocations: 0 / 0.5166 GB, free: 36.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.31, allocations: 2.906 kB / 0.5166 GB, free: 36.96 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.0003563/0.3104, allocations: 373.2 kB / 0.517 GB, free: 36.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3104, allocations: 8.844 kB / 0.517 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.3104, allocations: 3.656 kB / 0.517 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.3105, allocations: 170.9 kB / 0.5171 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3106, allocations: 384 / 0.5171 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3106, allocations: 14.72 kB / 0.5172 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3107, allocations: 46.72 kB / 0.5172 GB, free: 36.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3107, allocations: 6.812 kB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3107, allocations: 4 kB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.3107, allocations: 0 / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.3108, allocations: 34.86 kB / 0.5172 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.311, allocations: 171.5 kB / 0.5174 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3112, allocations: 54.52 kB / 0.5175 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.3112, allocations: 26.11 kB / 0.5175 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.3114, allocations: 108.5 kB / 0.5176 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.3115, allocations: 45.81 kB / 0.5176 GB, free: 35.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3115, allocations: 0 / 0.5176 GB, free: 35.91 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.1415/0.453, allocations: 6.379 MB / 0.5239 GB, free: 35.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.4531, allocations: 53.91 kB / 0.5239 GB, free: 35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.4531, allocations: 105.9 kB / 0.524 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.4532, allocations: 29.7 kB / 0.524 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.4532, allocations: 83.41 kB / 0.5241 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.4533, allocations: 64.12 kB / 0.5242 GB, free: 34.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.4535, allocations: 88.56 kB / 0.5243 GB, free: 34.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.4535, allocations: 320.6 kB / 0.5246 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.454, allocations: 228.7 kB / 0.5248 GB, free: 34.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.4545, allocations: 234 kB / 0.525 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.4564, allocations: 0.553 MB / 0.5256 GB, free: 34.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4565, allocations: 0 / 0.5256 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001709/0.4582, allocations: 0.6107 MB / 0.5261 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4582, allocations: 5.812 kB / 0.5262 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4582, allocations: 0 / 0.5262 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4582, allocations: 3.375 kB / 0.5262 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.4589, allocations: 103.1 kB / 0.5263 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4589, allocations: 4 kB / 0.5263 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.4593, allocations: 28.44 kB / 0.5263 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.4594, allocations: 33.56 kB / 0.5263 GB, free: 33.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.4595, allocations: 128.4 kB / 0.5264 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.4596, allocations: 7.75 kB / 0.5264 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4616, allocations: 0.7281 MB / 0.5272 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4616, allocations: 0 / 0.5272 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4617, allocations: 3.531 kB / 0.5272 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4617, allocations: 0.6094 kB / 0.5272 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.4655, allocations: 1.174 MB / 0.5283 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4655, allocations: 3.938 kB / 0.5283 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.466, allocations: 96.23 kB / 0.5284 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.466, allocations: 7.453 kB / 0.5284 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.4661, allocations: 29.45 kB / 0.5284 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.4661, allocations: 7.609 kB / 0.5284 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4661, allocations: 3.984 kB / 0.5285 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.4683, allocations: 1.311 MB / 0.5297 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.4684, allocations: 87.59 kB / 0.5298 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.4684, allocations: 3.922 kB / 0.5298 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.4688, allocations: 27.28 kB / 0.5298 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.4689, allocations: 19.61 kB / 0.5299 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.469, allocations: 31.91 kB / 0.5299 GB, free: 31.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.724e-05/0.469, allocations: 87.17 kB / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.469, allocations: 0 / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001691/0.4707, allocations: 0.6476 MB / 0.5306 GB, free: 31.69 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 (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.003057/0.4738, allocations: 286.5 kB / 0.5309 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.475, allocations: 450.5 kB / 0.5313 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.475, allocations: 3.938 kB / 0.5313 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.4755, allocations: 204.2 kB / 0.5315 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.4758, allocations: 10.98 kB / 0.5315 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.4781, allocations: 0.7078 MB / 0.5322 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4782, allocations: 0.7017 MB / 0.5329 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005156/0.4787, allocations: 121.7 kB / 0.533 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.4791, allocations: 86.39 kB / 0.5331 GB, free: 30.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4791, allocations: 0 / 0.5331 GB, free: 30.2 MB / 378.7 MB Notification: Performance of Templates: time 0.06025/0.5393, allocations: 57.24 MB / 0.589 GB, free: 13.42 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches