Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 105.3 kB / 16.27 MB, free: 5.93 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.0009645/0.0009645, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2174/0.2174, allocations: 43.53 MB / 313.9 MB, free: 0.5078 MB / 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.001716/0.001716, allocations: 66.41 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1181, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002083/0.1203, allocations: 0.5341 MB / 441.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.121, allocations: 407.3 kB / 441.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.1211, allocations: 4 kB / 441.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.1211, allocations: 3.938 kB / 441.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.1212, allocations: 0 / 441.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.1219, allocations: 147.8 kB / 441.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.122, allocations: 27.92 kB / 441.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.122, allocations: 4 kB / 441.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1221, allocations: 23.86 kB / 441.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.1221, allocations: 15.92 kB / 441.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1221, allocations: 4 kB / 441.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.1224, allocations: 155.8 kB / 441.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1225, allocations: 15.97 kB / 441.8 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1225, allocations: 15.88 kB / 441.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1227, allocations: 131.7 kB / 442 MB, free: 5.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1228, allocations: 4 kB / 442 MB, free: 5.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1228, allocations: 0 / 442 MB, free: 5.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1228, allocations: 0 / 442 MB, free: 5.402 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004446/0.1232, allocations: 363.4 kB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1233, allocations: 8.031 kB / 442.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1233, allocations: 8.844 kB / 442.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1234, allocations: 164.4 kB / 442.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1235, allocations: 8.312 kB / 442.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.1235, allocations: 12.36 kB / 442.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1237, allocations: 62.23 kB / 442.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1237, allocations: 11.88 kB / 442.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1238, allocations: 0 / 442.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1238, allocations: 0 / 442.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.1239, allocations: 51.95 kB / 442.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.1241, allocations: 173.5 kB / 442.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1242, allocations: 82.55 kB / 442.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.1243, allocations: 28.84 kB / 442.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.1246, allocations: 109.1 kB / 443.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1246, allocations: 34.5 kB / 443.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1247, allocations: 0 / 443.1 MB, free: 4.129 MB / 318.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1364/0.261, allocations: 5.622 MB / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2611, allocations: 59.27 kB / 448.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.2612, allocations: 89.86 kB / 448.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.2612, allocations: 33.7 kB / 448.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.2613, allocations: 80.52 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2614, allocations: 75.03 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2615, allocations: 57.67 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2616, allocations: 326.8 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.262, allocations: 107.9 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.2624, allocations: 115.9 kB / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.2638, allocations: 329 kB / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2639, allocations: 0 / 450 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00115/0.265, allocations: 357.1 kB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.265, allocations: 4 kB / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2651, allocations: 0 / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.2651, allocations: 4 kB / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.2655, allocations: 75.91 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.2655, allocations: 4 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.2657, allocations: 31.91 kB / 450.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.2658, allocations: 23.86 kB / 450.4 MB, free: 12.68 MB / 334.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 (23): * Single equations (assignments): 23 * 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.0001119/0.2659, allocations: 117.8 kB / 450.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.2659, allocations: 11.91 kB / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.2674, allocations: 437.8 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2674, allocations: 0 / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2674, allocations: 4 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2674, allocations: 3.984 kB / 451 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.2698, allocations: 0.7882 MB / 451.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2698, allocations: 0 / 451.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.2701, allocations: 71.92 kB / 451.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.2701, allocations: 7.875 kB / 451.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.2701, allocations: 15.98 kB / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2701, allocations: 4 kB / 451.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2701, allocations: 0 / 451.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2714, allocations: 429 kB / 452.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.2715, allocations: 89 kB / 452.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.2715, allocations: 4 kB / 452.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.2717, allocations: 23.97 kB / 452.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2718, allocations: 15.98 kB / 452.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2718, allocations: 15.92 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.2719, allocations: 79.28 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 4 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002174/0.2741, allocations: 0.6288 MB / 453.2 MB, free: 9.828 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003459/0.2775, allocations: 291 kB / 453.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008723/0.2784, allocations: 271.6 kB / 453.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2784, allocations: 0 / 453.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.2788, allocations: 135.9 kB / 453.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2791, allocations: 16.95 kB / 453.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2802, allocations: 323.9 kB / 454.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.2807, allocations: 0.6931 MB / 454.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000297/0.281, allocations: 77.08 kB / 455 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2811, allocations: 51.39 kB / 455 MB, free: 7.926 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2811, allocations: 0 / 455 MB, free: 7.926 MB / 334.1 MB Notification: Performance of Templates: time 0.07638/0.3575, allocations: 53.87 MB / 0.4969 GB, free: 1.879 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches