Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002134/0.00214, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 88.91 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2979/0.2979, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.712e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4009, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.5538, allocations: 83.34 MB / 0.5473 GB, free: 15.97 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5541, allocations: 59.97 kB / 0.5473 GB, free: 15.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003908/0.5581, allocations: 0.9029 MB / 0.5482 GB, free: 15.01 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5581, allocations: 0 / 0.5482 GB, free: 15.01 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.5581, allocations: 0 / 0.5482 GB, free: 15.01 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003172/0.5585, allocations: 338.5 kB / 0.5485 GB, free: 14.64 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5585, allocations: 8.031 kB / 0.5486 GB, free: 14.63 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.5586, allocations: 0 / 0.5486 GB, free: 14.63 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.5587, allocations: 174.9 kB / 0.5487 GB, free: 14.42 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5587, allocations: 0 / 0.5487 GB, free: 14.42 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5588, allocations: 4 kB / 0.5487 GB, free: 14.41 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001749/0.559, allocations: 47.95 kB / 0.5488 GB, free: 14.37 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5591, allocations: 49.62 kB / 0.5488 GB, free: 14.31 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5591, allocations: 0 / 0.5488 GB, free: 14.31 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5591, allocations: 4 kB / 0.5488 GB, free: 14.31 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5591, allocations: 0 / 0.5488 GB, free: 14.31 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.5594, allocations: 150.1 kB / 0.549 GB, free: 14.12 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5595, allocations: 70.59 kB / 0.549 GB, free: 14.05 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.5596, allocations: 24.86 kB / 0.5491 GB, free: 14.02 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/0.5601, allocations: 251.3 kB / 0.5493 GB, free: 13.72 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.5601, allocations: 34.56 kB / 0.5493 GB, free: 13.68 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.5601, allocations: 0 / 0.5493 GB, free: 13.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003454/0.5605, allocations: 81.8 kB / 0.5494 GB, free: 13.59 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5605, allocations: 55.41 kB / 0.5495 GB, free: 13.52 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.5606, allocations: 85 kB / 0.5495 GB, free: 13.43 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5607, allocations: 28.66 kB / 0.5496 GB, free: 13.4 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.5607, allocations: 158.5 kB / 0.5497 GB, free: 13.25 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.5608, allocations: 35.59 kB / 0.5498 GB, free: 13.21 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5608, allocations: 0 / 0.5498 GB, free: 13.21 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.561, allocations: 314.8 kB / 0.5501 GB, free: 12.89 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.561, allocations: 12 kB / 0.5501 GB, free: 12.88 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.5611, allocations: 12 kB / 0.5501 GB, free: 12.87 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5613, allocations: 27.98 kB / 0.5501 GB, free: 12.84 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5613, allocations: 3.938 kB / 0.5501 GB, free: 12.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002591/0.5615, allocations: 81.84 kB / 0.5502 GB, free: 12.75 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5616, allocations: 8 kB / 0.5502 GB, free: 12.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5616, allocations: 4 kB / 0.5502 GB, free: 12.74 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5616, allocations: 0 / 0.5502 GB, free: 12.74 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5618, allocations: 19.92 kB / 0.5502 GB, free: 12.72 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5618, allocations: 0 / 0.5502 GB, free: 12.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.5619, allocations: 7.906 kB / 0.5502 GB, free: 12.71 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5619, allocations: 4 kB / 0.5502 GB, free: 12.71 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001065/0.562, allocations: 101 kB / 0.5503 GB, free: 12.61 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.562, allocations: 7.953 kB / 0.5503 GB, free: 12.6 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.5624, allocations: 98 kB / 0.5504 GB, free: 12.49 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5624, allocations: 0 / 0.5504 GB, free: 12.49 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5624, allocations: 0 / 0.5504 GB, free: 12.49 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5625, allocations: 0 / 0.5504 GB, free: 12.49 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.5626, allocations: 154.1 kB / 0.5506 GB, free: 12.3 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5626, allocations: 11.98 kB / 0.5506 GB, free: 12.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.5628, allocations: 15.98 kB / 0.5506 GB, free: 12.28 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.5628, allocations: 0 / 0.5506 GB, free: 12.28 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5628, allocations: 4.5 kB / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.5628, allocations: 3.984 kB / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5628, allocations: 0 / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.5631, allocations: 109 kB / 0.5507 GB, free: 12.14 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.5632, allocations: 89 kB / 0.5508 GB, free: 12.04 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5632, allocations: 224 / 0.5508 GB, free: 12.04 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.5633, allocations: 3.953 kB / 0.5508 GB, free: 12.04 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.5633, allocations: 7.938 kB / 0.5508 GB, free: 12.03 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.5634, allocations: 8.281 kB / 0.5508 GB, free: 12.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.5634, allocations: 75.28 kB / 0.5509 GB, free: 11.95 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5634, allocations: 4.094 kB / 0.5509 GB, free: 11.94 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.5637, allocations: 27.86 kB / 0.5509 GB, free: 11.91 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001903/0.5639, allocations: 107.2 kB / 0.551 GB, free: 11.8 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.5641, allocations: 47.94 kB / 0.5511 GB, free: 11.75 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5641, allocations: 0 / 0.5511 GB, free: 11.75 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.5642, allocations: 23.98 kB / 0.5511 GB, free: 11.73 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5643, allocations: 4 kB / 0.5511 GB, free: 11.73 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.5647, allocations: 115.1 kB / 0.5512 GB, free: 11.59 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.565, allocations: 0.6884 MB / 0.5519 GB, free: 10.87 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.5651, allocations: 19.42 kB / 0.5519 GB, free: 10.85 MB / 395.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5651, allocations: 0 / 0.5519 GB, free: 10.85 MB / 395.1 MB Notification: Performance of Templates: time 0.003171/0.5683, allocations: 0.8148 MB / 0.5527 GB, free: 10.04 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches