Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.00113/0.00113, allocations: 187.1 kB / 19.38 MB, free: 3.695 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.313/1.313, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2059/0.2059, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3073, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001473/0.3088, allocations: 0.546 MB / 0.5201 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.3094, allocations: 403 kB / 0.5205 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.3095, allocations: 0 / 0.5205 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.3095, allocations: 3.938 kB / 0.5205 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.788e-05/0.3095, allocations: 0.875 kB / 0.5205 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.31, allocations: 143.2 kB / 0.5206 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.3101, allocations: 20.06 kB / 0.5206 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3101, allocations: 8.281 kB / 0.5206 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.3101, allocations: 9.906 kB / 0.5207 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.3102, allocations: 21.53 kB / 0.5207 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3102, allocations: 1.281 kB / 0.5207 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.3105, allocations: 169.7 kB / 0.5208 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.3105, allocations: 2.469 kB / 0.5208 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3105, allocations: 17.42 kB / 0.5209 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3107, allocations: 133.4 kB / 0.521 GB, free: 2.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3108, allocations: 0.7969 kB / 0.521 GB, free: 2.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3108, allocations: 1.094 kB / 0.521 GB, free: 2.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3108, allocations: 0 / 0.521 GB, free: 2.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003186/0.3111, allocations: 357.7 kB / 0.5213 GB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3111, allocations: 9.312 kB / 0.5213 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.3112, allocations: 3.453 kB / 0.5213 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.914e-05/0.3112, allocations: 173.4 kB / 0.5215 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3113, allocations: 5.688 kB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3113, allocations: 7.891 kB / 0.5215 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3114, allocations: 53.78 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3114, allocations: 4.734 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3114, allocations: 5.016 kB / 0.5216 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3114, allocations: 1.438 kB / 0.5216 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.3115, allocations: 32.16 kB / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.3116, allocations: 174.3 kB / 0.5218 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3118, allocations: 58.69 kB / 0.5218 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.3119, allocations: 23.53 kB / 0.5219 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.3121, allocations: 109.3 kB / 0.522 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3122, allocations: 32 kB / 0.522 GB, free: 1.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.3122, allocations: 3.938 kB / 0.522 GB, free: 1.75 MB / 382.1 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.1461/0.4583, allocations: 6.381 MB / 0.5282 GB, free: 14.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.4584, allocations: 57.55 kB / 0.5283 GB, free: 14.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.4585, allocations: 100.7 kB / 0.5284 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.4585, allocations: 25.7 kB / 0.5284 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.4586, allocations: 85.23 kB / 0.5285 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.4586, allocations: 63.47 kB / 0.5285 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.4588, allocations: 84.75 kB / 0.5286 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.4589, allocations: 325 kB / 0.5289 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.4595, allocations: 228.9 kB / 0.5291 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.4601, allocations: 225.9 kB / 0.5294 GB, free: 13.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.4623, allocations: 0.5595 MB / 0.5299 GB, free: 13.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4623, allocations: 1.531 kB / 0.5299 GB, free: 13.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001912/0.4642, allocations: 0.6181 MB / 0.5305 GB, free: 13.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4643, allocations: 5.438 kB / 0.5305 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4643, allocations: 0 / 0.5305 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4643, allocations: 1.031 kB / 0.5305 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.465, allocations: 105.4 kB / 0.5306 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.465, allocations: 0 / 0.5306 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.4655, allocations: 32.48 kB / 0.5307 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.4656, allocations: 32.06 kB / 0.5307 GB, free: 13.18 MB / 398.1 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.0001654/0.4657, allocations: 129 kB / 0.5308 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.4658, allocations: 8.531 kB / 0.5308 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.468, allocations: 0.7238 MB / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.468, allocations: 4 kB / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.468, allocations: 1.156 kB / 0.5315 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.4681, allocations: 83.14 kB / 0.5316 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.4682, allocations: 13.27 kB / 0.5316 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.4687, allocations: 20.59 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4687, allocations: 9.266 kB / 0.5316 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002389/0.4711, allocations: 0.7363 MB / 0.5324 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00197/0.4731, allocations: 0.7627 MB / 0.5331 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005738/0.4737, allocations: 246.1 kB / 0.5333 GB, free: 11.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.4737, allocations: 87.34 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Backend: time 7.32e-07/0.4737, allocations: 0 / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.4783, allocations: 0.5506 MB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005123/0.4788, allocations: 0.6261 MB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Templates: time 0.06858/0.5474, allocations: 58.1 MB / 0.5913 GB, free: 2.18 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches