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.001313/0.001313, allocations: 107.7 kB / 17.03 MB, free: 5.66 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.001271/0.001271, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.337/1.337, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2032/0.2032, allocations: 43.51 MB / 314.7 MB, free: 480 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.001428/0.001428, allocations: 67.55 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001716/0.106, allocations: 0.5334 MB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.1067, allocations: 415.3 kB / 442.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.1068, allocations: 0 / 442.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1068, allocations: 3.938 kB / 442.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.182e-05/0.1068, allocations: 0 / 442.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.1073, allocations: 147.5 kB / 443.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.1074, allocations: 27.91 kB / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1074, allocations: 4 kB / 443.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.1075, allocations: 15.94 kB / 443.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.1075, allocations: 27.91 kB / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1075, allocations: 0 / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1078, allocations: 155.8 kB / 443.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.1078, allocations: 11.98 kB / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1078, allocations: 15.88 kB / 443.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.108, allocations: 131.7 kB / 443.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.108, allocations: 0 / 443.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.108, allocations: 4 kB / 443.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.108, allocations: 0 / 443.4 MB, free: 4.66 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.0003577/0.1084, allocations: 359.4 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1084, allocations: 16.03 kB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1085, allocations: 12.78 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.545e-05/0.1085, allocations: 164.4 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1086, allocations: 384 / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1086, allocations: 12.36 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1087, allocations: 66.17 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1087, allocations: 3.938 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1087, allocations: 0 / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1087, allocations: 4 kB / 444.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.1088, allocations: 47.95 kB / 444.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.109, allocations: 177.5 kB / 444.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1091, allocations: 82.55 kB / 444.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.1091, allocations: 32.84 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.1094, allocations: 101.1 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.1094, allocations: 42.5 kB / 444.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1094, allocations: 0 / 444.5 MB, free: 3.383 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.1248/0.2342, allocations: 5.618 MB / 450.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.2343, allocations: 59.27 kB / 450.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2344, allocations: 93.86 kB / 450.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.2344, allocations: 29.7 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.2345, allocations: 84.5 kB / 450.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.2345, allocations: 70.91 kB / 450.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.2347, allocations: 61.67 kB / 450.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2348, allocations: 318.8 kB / 450.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.2351, allocations: 116 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.2355, allocations: 111.9 kB / 451.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.2368, allocations: 325 kB / 451.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2368, allocations: 0 / 451.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001134/0.238, allocations: 361 kB / 451.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.238, allocations: 8 kB / 451.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.238, allocations: 0 / 451.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2381, allocations: 0 / 451.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.2385, allocations: 87.84 kB / 451.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2385, allocations: 0 / 451.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.2387, allocations: 23.97 kB / 451.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.2388, allocations: 23.92 kB / 451.9 MB, free: 11.93 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.0001238/0.2389, allocations: 117.8 kB / 452 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2389, allocations: 11.91 kB / 452 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.2403, allocations: 433.8 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.2403, allocations: 4 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2403, allocations: 0 / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2404, allocations: 3.984 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.2426, allocations: 0.7805 MB / 453.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2426, allocations: 7.875 kB / 453.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.2429, allocations: 75.86 kB / 453.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2429, allocations: 8 kB / 453.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.243, allocations: 15.98 kB / 453.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.243, allocations: 0 / 453.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.243, allocations: 4.062 kB / 453.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2441, allocations: 425 kB / 453.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.2442, allocations: 89 kB / 453.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.2442, allocations: 8 kB / 453.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.2444, allocations: 19.97 kB / 453.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.2444, allocations: 23.92 kB / 453.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.2445, allocations: 11.98 kB / 453.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.323e-05/0.2445, allocations: 79.28 kB / 454 MB, free: 9.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2445, allocations: 0 / 454 MB, free: 9.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001616/0.2461, allocations: 0.6211 MB / 454.6 MB, free: 9.098 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.003157/0.2493, allocations: 291 kB / 454.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007675/0.2501, allocations: 267.6 kB / 455.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2501, allocations: 0 / 455.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.2505, allocations: 131.9 kB / 455.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2507, allocations: 19.92 kB / 455.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.2517, allocations: 324 kB / 455.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2519, allocations: 0.697 MB / 456.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.2521, allocations: 77.08 kB / 456.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2523, allocations: 43.41 kB / 456.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2523, allocations: 0 / 456.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of Templates: time 0.07585/0.3281, allocations: 53.87 MB / 0.4983 GB, free: 1.145 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/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