Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002545/0.002545, allocations: 181.4 kB / 16.4 MB, free: 5.746 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.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00124/0.001239, allocations: 101.2 kB / 270.9 MB, free: 8.359 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.5253/0.5253, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004735, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0007831/0.1327, allocations: 264.4 kB / 490.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.1336, allocations: 350 kB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.1336, allocations: 0 / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1337, allocations: 3.938 kB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.1337, allocations: 0 / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1341, allocations: 75.8 kB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.1342, allocations: 15.91 kB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1343, allocations: 4 kB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.1343, allocations: 11.98 kB / 490.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.1344, allocations: 19.92 kB / 490.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1344, allocations: 0 / 490.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.1347, allocations: 107.9 kB / 491 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1347, allocations: 3.938 kB / 491.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.1347, allocations: 29.7 kB / 491.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1349, allocations: 63.91 kB / 491.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1349, allocations: 4 kB / 491.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.135, allocations: 0 / 491.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.135, allocations: 3.938 kB / 491.2 MB, free: 10.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004855/0.1355, allocations: 355.5 kB / 491.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1355, allocations: 8.031 kB / 491.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1356, allocations: 7.906 kB / 491.5 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1357, allocations: 170.9 kB / 491.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1358, allocations: 7.938 kB / 491.7 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1358, allocations: 4 kB / 491.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.136, allocations: 53.67 kB / 491.7 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.136, allocations: 4 kB / 491.7 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.136, allocations: 4 kB / 491.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.136, allocations: 3.984 kB / 491.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1361, allocations: 27.92 kB / 491.8 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.1364, allocations: 177.5 kB / 492 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.1367, allocations: 50.56 kB / 492 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/0.1372, allocations: 121 kB / 492.1 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1372, allocations: 38.56 kB / 492.2 MB, free: 9.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.1372, allocations: 288 / 492.2 MB, free: 9.102 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.08109/0.2183, allocations: 2.807 MB / 495 MB, free: 6.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.2184, allocations: 55.34 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2185, allocations: 109.8 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.2186, allocations: 29.7 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.2187, allocations: 150.6 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2188, allocations: 74.92 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.2189, allocations: 4 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.219, allocations: 318.8 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.2198, allocations: 191.9 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.2205, allocations: 187.9 kB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.2215, allocations: 219.9 kB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2215, allocations: 0 / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001909/0.2234, allocations: 488.9 kB / 496.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2235, allocations: 4 kB / 496.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2235, allocations: 8 kB / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2235, allocations: 0 / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.2242, allocations: 76.12 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2243, allocations: 4 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.2247, allocations: 35.94 kB / 496.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.2248, allocations: 15.98 kB / 496.9 MB, free: 4.285 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 (19): * Single equations (assignments): 19 * 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.0001853/0.225, allocations: 121.8 kB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.225, allocations: 11.84 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.2274, allocations: 0.5683 MB / 497.6 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2274, allocations: 4 kB / 497.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2274, allocations: 0 / 497.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2275, allocations: 0 / 497.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.2313, allocations: 0.9593 MB / 498.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.2314, allocations: 3.953 kB / 498.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.232, allocations: 76.53 kB / 498.6 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.232, allocations: 8 kB / 498.6 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.2321, allocations: 19.98 kB / 498.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.2321, allocations: 0 / 498.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.2321, allocations: 4 kB / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.2339, allocations: 0.5533 MB / 499.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.234, allocations: 85.02 kB / 499.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.2341, allocations: 15.89 kB / 499.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.2345, allocations: 31.97 kB / 499.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.2345, allocations: 15.92 kB / 499.4 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.2346, allocations: 19.98 kB / 499.4 MB, free: 1.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.2347, allocations: 83.28 kB / 499.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2347, allocations: 0 / 499.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001286/0.236, allocations: 312 kB / 499.8 MB, free: 1.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002136/0.2381, allocations: 235.1 kB / 0.4883 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.2397, allocations: 375.3 kB / 0.4886 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.2397, allocations: 0 / 0.4886 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.2404, allocations: 164.2 kB / 0.4888 GB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2407, allocations: 8 kB / 0.4888 GB, free: 460 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3011/0.5418, allocations: 0.4951 MB / 0.4893 GB, free: 42.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.542, allocations: 0.7015 MB / 0.49 GB, free: 42.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.5424, allocations: 51.92 kB / 0.49 GB, free: 42 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5424, allocations: 0 / 0.49 GB, free: 42 MB / 378.7 MB Notification: Performance of Templates: time 0.01871/0.5611, allocations: 7.575 MB / 0.4974 GB, free: 40.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches