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.0009306/0.0009311, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.209/1.209, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007029/0.0007029, allocations: 84.98 kB / 271.2 MB, free: 8.246 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.2991/0.2991, allocations: 43.58 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 12 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1115, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005966/0.1121, allocations: 264.4 kB / 491.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006656/0.1128, allocations: 389.9 kB / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1129, allocations: 0 / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.06e-05/0.1129, allocations: 0 / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.1129, allocations: 0 / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1133, allocations: 99.78 kB / 491.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.1134, allocations: 27.92 kB / 491.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1134, allocations: 3.984 kB / 491.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.1134, allocations: 11.98 kB / 491.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.1135, allocations: 23.92 kB / 491.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1135, allocations: 0 / 491.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.1138, allocations: 159.7 kB / 491.8 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1138, allocations: 8 kB / 491.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1138, allocations: 49.55 kB / 491.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.114, allocations: 75.89 kB / 491.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.114, allocations: 0 / 491.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.114, allocations: 3.984 kB / 491.9 MB, free: 9.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.114, allocations: 0 / 491.9 MB, free: 9.777 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.0003225/0.1143, allocations: 355.7 kB / 492.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1143, allocations: 12.03 kB / 492.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1144, allocations: 8.844 kB / 492.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1145, allocations: 168.3 kB / 492.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1145, allocations: 8.375 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1145, allocations: 8.375 kB / 492.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1147, allocations: 66.17 kB / 492.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1147, allocations: 3.938 kB / 492.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1147, allocations: 0 / 492.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1147, allocations: 4 kB / 492.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.1148, allocations: 47.95 kB / 492.6 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.115, allocations: 173.6 kB / 492.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1151, allocations: 94.36 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.1152, allocations: 28.84 kB / 492.9 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.1154, allocations: 113.1 kB / 493 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1154, allocations: 30.94 kB / 493 MB, free: 8.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1154, allocations: 0 / 493 MB, free: 8.5 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.1095/0.225, allocations: 5.839 MB / 498.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.2251, allocations: 55.41 kB / 498.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.2252, allocations: 89.86 kB / 499 MB, free: 2.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.2252, allocations: 33.7 kB / 499 MB, free: 2.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.2252, allocations: 80.52 kB / 499.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.2253, allocations: 82.83 kB / 499.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.2253, allocations: 0 / 499.2 MB, free: 2.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2255, allocations: 326.8 kB / 499.5 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.2258, allocations: 144 kB / 499.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.2261, allocations: 135.9 kB / 499.8 MB, free: 1.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.2276, allocations: 373 kB / 0.4884 GB, free: 1.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2276, allocations: 0 / 0.4884 GB, free: 1.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001129/0.2287, allocations: 401 kB / 0.4888 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.2287, allocations: 7.984 kB / 0.4888 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2288, allocations: 4 kB / 0.4888 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2288, allocations: 0 / 0.4888 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.2292, allocations: 95.86 kB / 0.4889 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2292, allocations: 0 / 0.4889 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.2294, allocations: 35.95 kB / 0.4889 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.2294, allocations: 23.92 kB / 0.489 GB, free: 0.7188 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.0001188/0.2296, allocations: 121.8 kB / 0.4891 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.2296, allocations: 7.906 kB / 0.4891 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.231, allocations: 473.7 kB / 0.4895 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.231, allocations: 4 kB / 0.4895 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.231, allocations: 4 kB / 0.4896 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.231, allocations: 0 / 0.4896 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1849/0.4159, allocations: 0.8596 MB / 0.4904 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.416, allocations: 1.031 kB / 0.4904 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.4163, allocations: 90.58 kB / 0.4905 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.4163, allocations: 1.094 kB / 0.4905 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.4164, allocations: 17.81 kB / 0.4905 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4164, allocations: 1.219 kB / 0.4905 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4164, allocations: 3.047 kB / 0.4905 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4176, allocations: 465.5 kB / 0.4909 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.4176, allocations: 86.41 kB / 0.491 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4176, allocations: 8.219 kB / 0.491 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4178, allocations: 40.28 kB / 0.4911 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4179, allocations: 17.06 kB / 0.4911 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.4179, allocations: 16.84 kB / 0.4911 GB, free: 41.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.979e-05/0.418, allocations: 80.83 kB / 0.4912 GB, free: 41.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.418, allocations: 0 / 0.4912 GB, free: 41.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001875/0.4198, allocations: 0.6278 MB / 0.4918 GB, free: 41.28 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.00331/0.4232, allocations: 304.6 kB / 0.4921 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.4241, allocations: 310.5 kB / 0.4924 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4241, allocations: 0 / 0.4924 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.4245, allocations: 152.8 kB / 0.4925 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4247, allocations: 15.19 kB / 0.4925 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.4257, allocations: 437.1 kB / 0.493 GB, free: 40.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.4258, allocations: 0.6946 MB / 0.4936 GB, free: 40.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.426, allocations: 51.94 kB / 0.4937 GB, free: 40.28 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.426, allocations: 0 / 0.4937 GB, free: 40.28 MB / 378.7 MB Notification: Performance of Templates: time 0.0257/0.4517, allocations: 14.19 MB / 0.5075 GB, free: 39.36 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