Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 179.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009392/0.0009393, allocations: 94.16 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4023/0.4023, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006124/0.1191, allocations: 256.4 kB / 490.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.1198, allocations: 384.8 kB / 490.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1199, allocations: 0 / 490.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.1199, allocations: 0 / 490.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.296e-05/0.1199, allocations: 4 kB / 490.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1204, allocations: 111.8 kB / 491 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.1204, allocations: 27.91 kB / 491 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.1205, allocations: 4 kB / 491 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.1205, allocations: 15.98 kB / 491 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.1206, allocations: 15.92 kB / 491 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1206, allocations: 0 / 491 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.1209, allocations: 151.8 kB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.1209, allocations: 15.97 kB / 491.2 MB, free: 10 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.121, allocations: 29.64 kB / 491.2 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1211, allocations: 83.88 kB / 491.3 MB, free: 9.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1211, allocations: 0 / 491.3 MB, free: 9.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1211, allocations: 4 kB / 491.3 MB, free: 9.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1212, allocations: 0 / 491.3 MB, free: 9.883 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004445/0.1216, allocations: 359.5 kB / 491.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1217, allocations: 8.031 kB / 491.7 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1217, allocations: 11.86 kB / 491.7 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1219, allocations: 167 kB / 491.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1219, allocations: 4 kB / 491.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1219, allocations: 8 kB / 491.9 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1221, allocations: 66.78 kB / 491.9 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1221, allocations: 0 / 491.9 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1221, allocations: 4 kB / 491.9 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1221, allocations: 4 kB / 491.9 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.1222, allocations: 39.95 kB / 492 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.1224, allocations: 177.5 kB / 492.2 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1226, allocations: 86.48 kB / 492.2 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1227, allocations: 32.84 kB / 492.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.123, allocations: 113 kB / 492.4 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.123, allocations: 30.56 kB / 492.4 MB, free: 8.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.123, allocations: 0 / 492.4 MB, free: 8.613 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1184/0.2414, allocations: 5.841 MB / 498.3 MB, free: 2.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.2415, allocations: 55.41 kB / 498.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.2416, allocations: 93.84 kB / 498.4 MB, free: 2.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2417, allocations: 33.7 kB / 498.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2417, allocations: 80.52 kB / 498.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.2418, allocations: 78.97 kB / 498.6 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.2418, allocations: 4 kB / 498.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2419, allocations: 322.8 kB / 498.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2423, allocations: 135.8 kB / 499 MB, free: 1.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.2427, allocations: 135.9 kB / 499.2 MB, free: 1.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.2434, allocations: 179.7 kB / 499.3 MB, free: 1.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2434, allocations: 4 kB / 499.4 MB, free: 1.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001196/0.2446, allocations: 401.7 kB / 499.7 MB, free: 1.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2446, allocations: 7.984 kB / 499.8 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2447, allocations: 3.953 kB / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2447, allocations: 0 / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.2451, allocations: 95.92 kB / 499.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2451, allocations: 0 / 499.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.2453, allocations: 39.95 kB / 499.9 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.2453, allocations: 19.98 kB / 499.9 MB, free: 1.027 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.2455, allocations: 125.8 kB / 0.4883 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2455, allocations: 7.906 kB / 0.4883 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.2469, allocations: 477.8 kB / 0.4888 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.247, allocations: 7.953 kB / 0.4888 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.247, allocations: 0 / 0.4888 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.247, allocations: 0 / 0.4888 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2085/0.4555, allocations: 0.864 MB / 0.4896 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4555, allocations: 1.031 kB / 0.4896 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.4559, allocations: 87.34 kB / 0.4897 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.4559, allocations: 2.156 kB / 0.4897 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.4559, allocations: 15.25 kB / 0.4897 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4559, allocations: 1.219 kB / 0.4897 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.456, allocations: 2.688 kB / 0.4897 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.4572, allocations: 476.9 kB / 0.4902 GB, free: 41.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.4572, allocations: 86.11 kB / 0.4903 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.4572, allocations: 5.453 kB / 0.4903 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4575, allocations: 40.5 kB / 0.4903 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.4575, allocations: 14.52 kB / 0.4903 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.4575, allocations: 19.8 kB / 0.4903 GB, free: 41.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.345e-05/0.4576, allocations: 80.38 kB / 0.4904 GB, free: 41.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4576, allocations: 0 / 0.4904 GB, free: 41.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001911/0.4595, allocations: 0.6266 MB / 0.491 GB, free: 41.12 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002921/0.4624, allocations: 310.1 kB / 0.4913 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008678/0.4633, allocations: 301.8 kB / 0.4916 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4633, allocations: 0 / 0.4916 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.4637, allocations: 155.9 kB / 0.4918 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.464, allocations: 10.41 kB / 0.4918 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.465, allocations: 427 kB / 0.4922 GB, free: 40.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.4651, allocations: 0.7036 MB / 0.4929 GB, free: 40.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.4653, allocations: 47.48 kB / 0.4929 GB, free: 40.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4653, allocations: 0 / 0.4929 GB, free: 40.12 MB / 378.7 MB Notification: Performance of Templates: time 0.02259/0.4879, allocations: 14.2 MB / 0.5068 GB, free: 39.23 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches