Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00155/0.00155, allocations: 109.1 kB / 17.09 MB, free: 6.008 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.001757/0.001757, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1924/0.1924, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001786/0.1148, allocations: 0.5378 MB / 0.4891 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.1156, allocations: 403.3 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.1156, allocations: 3.938 kB / 0.4895 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1157, allocations: 0 / 0.4895 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.505e-05/0.1157, allocations: 11.94 kB / 0.4895 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.1162, allocations: 143.5 kB / 0.4896 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.1163, allocations: 23.92 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1163, allocations: 0 / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1164, allocations: 15.94 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1164, allocations: 11.92 kB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1165, allocations: 0 / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1167, allocations: 163.8 kB / 0.4898 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1167, allocations: 15.92 kB / 0.4898 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1168, allocations: 11.94 kB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.117, allocations: 131.6 kB / 0.49 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.117, allocations: 3.938 kB / 0.49 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.117, allocations: 0 / 0.49 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.117, allocations: 0 / 0.49 GB, free: 10.37 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.0004526/0.1175, allocations: 370.8 kB / 0.4903 GB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1175, allocations: 8.031 kB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1176, allocations: 0.9375 kB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1177, allocations: 180.4 kB / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1178, allocations: 384 / 0.4905 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1178, allocations: 8.281 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1179, allocations: 54.19 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1179, allocations: 7.938 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.118, allocations: 0 / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.118, allocations: 0 / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.118, allocations: 31.97 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.1182, allocations: 169.6 kB / 0.4908 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1185, allocations: 62.58 kB / 0.4908 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.1185, allocations: 20.86 kB / 0.4908 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.1188, allocations: 109.1 kB / 0.4909 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1188, allocations: 30.56 kB / 0.491 GB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1188, allocations: 4 kB / 0.491 GB, free: 9.156 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.1405/0.2594, allocations: 6.39 MB / 0.4972 GB, free: 2.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2595, allocations: 55.88 kB / 0.4973 GB, free: 2.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2596, allocations: 97.86 kB / 0.4974 GB, free: 2.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.2596, allocations: 25.7 kB / 0.4974 GB, free: 2.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.2597, allocations: 88.14 kB / 0.4975 GB, free: 2.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.2598, allocations: 63.08 kB / 0.4975 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.2599, allocations: 89.53 kB / 0.4976 GB, free: 2.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2601, allocations: 334.8 kB / 0.4979 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.2607, allocations: 223.8 kB / 0.4981 GB, free: 1.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.2612, allocations: 227.8 kB / 0.4984 GB, free: 1.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.2633, allocations: 0.5629 MB / 0.4989 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2633, allocations: 0 / 0.4989 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001818/0.2652, allocations: 0.6138 MB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2652, allocations: 7.281 kB / 0.4995 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2652, allocations: 0 / 0.4995 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2652, allocations: 4 kB / 0.4995 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/0.2659, allocations: 107.8 kB / 0.4996 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2659, allocations: 0 / 0.4996 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.2664, allocations: 27.95 kB / 0.4997 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.2665, allocations: 35.94 kB / 0.4997 GB, free: 140 kB / 382.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.0001649/0.2667, allocations: 125.7 kB / 0.4998 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.2668, allocations: 7.953 kB / 0.4998 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.2689, allocations: 0.724 MB / 0.5005 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2689, allocations: 0 / 0.5005 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2689, allocations: 0 / 0.5005 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.269, allocations: 89 kB / 0.5006 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.2691, allocations: 8.188 kB / 0.5006 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.2695, allocations: 19.97 kB / 0.5006 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.2696, allocations: 19.98 kB / 0.5007 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002289/0.2719, allocations: 0.7269 MB / 0.5014 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001885/0.2738, allocations: 0.7673 MB / 0.5021 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000552/0.2743, allocations: 247.8 kB / 0.5023 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.2744, allocations: 87.22 kB / 0.5024 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Backend: time 7.41e-07/0.2744, allocations: 4 kB / 0.5024 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004172/0.2786, allocations: 0.5486 MB / 0.503 GB, free: 12.7 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005949/0.2792, allocations: 0.6304 MB / 0.5036 GB, free: 12.02 MB / 398.1 MB Notification: Performance of Templates: time 0.2867/0.5659, allocations: 58.31 MB / 0.5605 GB, free: 24.34 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches