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.001596/0.001596, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001187/0.001186, allocations: 90.86 kB / 270.9 MB, free: 8.355 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.5215/0.5215, allocations: 43.57 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006422, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1298, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007237/0.1306, allocations: 256.4 kB / 490.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.1316, allocations: 390.1 kB / 490.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.1316, allocations: 0 / 490.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1316, allocations: 0 / 490.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.1317, allocations: 0 / 490.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.1322, allocations: 107.8 kB / 491 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.1323, allocations: 19.92 kB / 491 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.1323, allocations: 0 / 491 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.1324, allocations: 11.98 kB / 491 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.1325, allocations: 23.86 kB / 491 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1325, allocations: 0 / 491 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.1328, allocations: 151.8 kB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1329, allocations: 11.98 kB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.1329, allocations: 33.7 kB / 491.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1331, allocations: 83.88 kB / 491.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1332, allocations: 0 / 491.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.1332, allocations: 0 / 491.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1332, allocations: 3.938 kB / 491.3 MB, free: 9.91 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.0004472/0.1336, allocations: 359.1 kB / 491.6 MB, free: 9.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1337, allocations: 12.03 kB / 491.7 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.1337, allocations: 7.859 kB / 491.7 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1339, allocations: 167 kB / 491.8 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1339, allocations: 4 kB / 491.8 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.134, allocations: 8 kB / 491.8 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1341, allocations: 65.66 kB / 491.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1342, allocations: 3.938 kB / 491.9 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1342, allocations: 4 kB / 491.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1342, allocations: 0 / 491.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1343, allocations: 47.89 kB / 492 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.1346, allocations: 177.5 kB / 492.1 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1348, allocations: 90.48 kB / 492.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/0.1352, allocations: 109.1 kB / 492.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1352, allocations: 34.56 kB / 492.4 MB, free: 8.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.1353, allocations: 0 / 492.4 MB, free: 8.668 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.2675/0.4028, allocations: 5.846 MB / 498.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4029, allocations: 55.41 kB / 498.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.403, allocations: 89.86 kB / 498.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.403, allocations: 33.7 kB / 498.4 MB, free: 2.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.4031, allocations: 155.1 kB / 498.5 MB, free: 2.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4032, allocations: 82.83 kB / 498.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.4033, allocations: 0 / 498.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4034, allocations: 322.8 kB / 498.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.4041, allocations: 131.9 kB / 499.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/0.4049, allocations: 135.9 kB / 499.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.4063, allocations: 179.7 kB / 499.4 MB, free: 1.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4063, allocations: 3.938 kB / 499.4 MB, free: 1.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002289/0.4086, allocations: 401.8 kB / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4086, allocations: 8 kB / 499.8 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4087, allocations: 0 / 499.8 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4087, allocations: 3.953 kB / 499.8 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/0.4095, allocations: 95.84 kB / 499.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4095, allocations: 7.984 kB / 499.9 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.4099, allocations: 39.97 kB / 499.9 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.41, allocations: 11.98 kB / 499.9 MB, free: 1.016 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.0001704/0.4102, allocations: 129.8 kB / 0.4883 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.4102, allocations: 7.906 kB / 0.4883 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.4129, allocations: 477.9 kB / 0.4888 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.413, allocations: 7.938 kB / 0.4888 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.413, allocations: 0 / 0.4888 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.413, allocations: 4 kB / 0.4888 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3127/0.7257, allocations: 0.8568 MB / 0.4896 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.7258, allocations: 2 kB / 0.4896 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.7264, allocations: 84.2 kB / 0.4897 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.7264, allocations: 5.031 kB / 0.4897 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.7264, allocations: 13.73 kB / 0.4897 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.7264, allocations: 2.062 kB / 0.4897 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7265, allocations: 1.766 kB / 0.4897 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.7286, allocations: 499.4 kB / 0.4902 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.7287, allocations: 89.5 kB / 0.4903 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.7288, allocations: 6.094 kB / 0.4903 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.7291, allocations: 39.34 kB / 0.4903 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.7292, allocations: 16.56 kB / 0.4904 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.7293, allocations: 17.16 kB / 0.4904 GB, free: 41.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.7293, allocations: 76.38 kB / 0.4905 GB, free: 41.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.7293, allocations: 0 / 0.4905 GB, free: 41.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002433/0.7318, allocations: 0.6277 MB / 0.4911 GB, free: 41.05 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.005025/0.7368, allocations: 307.3 kB / 0.4914 GB, free: 40.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.7384, allocations: 303.4 kB / 0.4916 GB, free: 40.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7385, allocations: 0 / 0.4916 GB, free: 40.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.7392, allocations: 156.7 kB / 0.4918 GB, free: 40.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.7394, allocations: 6.797 kB / 0.4918 GB, free: 40.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.7412, allocations: 430.9 kB / 0.4922 GB, free: 40.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.7414, allocations: 0.7025 MB / 0.4929 GB, free: 40.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7417, allocations: 49.22 kB / 0.4929 GB, free: 40.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7417, allocations: 2.156 kB / 0.4929 GB, free: 40.05 MB / 378.7 MB Notification: Performance of Templates: time 0.03808/0.7798, allocations: 16.58 MB / 0.5091 GB, free: 37.45 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/jenkins1/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