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.0009904/0.0009903, allocations: 177.2 kB / 17.41 MB, free: 4.398 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.345/1.345, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.00071/0.00071, allocations: 90.36 kB / 271.9 MB, free: 8.254 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.338/0.338, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 8 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4311, allocations: 84.12 MB / 0.5621 GB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4314, allocations: 67.97 kB / 0.5621 GB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002202/0.4336, allocations: 0.9021 MB / 0.563 GB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4336, allocations: 4 kB / 0.563 GB, free: 1.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.4336, allocations: 0 / 0.563 GB, free: 1.152 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002016/0.4338, allocations: 334.9 kB / 0.5633 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4339, allocations: 12.03 kB / 0.5634 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.4339, allocations: 3.469 kB / 0.5634 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.434, allocations: 168.3 kB / 0.5635 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.434, allocations: 8.375 kB / 0.5635 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.434, allocations: 7.328 kB / 0.5635 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4342, allocations: 58.98 kB / 0.5636 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4342, allocations: 4.062 kB / 0.5636 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4342, allocations: 3.938 kB / 0.5636 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4342, allocations: 3.188 kB / 0.5636 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.4343, allocations: 59.89 kB / 0.5637 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.4345, allocations: 169.6 kB / 0.5638 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.4346, allocations: 66.56 kB / 0.5639 GB, free: 140 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.4346, allocations: 32.84 kB / 0.5639 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.4349, allocations: 251.4 kB / 0.5642 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.435, allocations: 30.56 kB / 0.5642 GB, free: 15.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.435, allocations: 288 / 0.5642 GB, free: 15.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002398/0.4352, allocations: 105.5 kB / 0.5643 GB, free: 15.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4353, allocations: 55.34 kB / 0.5643 GB, free: 15.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.4354, allocations: 101.9 kB / 0.5644 GB, free: 15.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4354, allocations: 25.7 kB / 0.5645 GB, free: 15.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.4354, allocations: 84.12 kB / 0.5645 GB, free: 15.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.4355, allocations: 35.45 kB / 0.5646 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4355, allocations: 0 / 0.5646 GB, free: 15.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4356, allocations: 318.8 kB / 0.5649 GB, free: 15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.4357, allocations: 16 kB / 0.5649 GB, free: 14.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.4357, allocations: 16.73 kB / 0.5649 GB, free: 14.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.4358, allocations: 45.61 kB / 0.5649 GB, free: 14.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4358, allocations: 4.125 kB / 0.565 GB, free: 14.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001138/0.4359, allocations: 82.19 kB / 0.565 GB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4359, allocations: 4 kB / 0.565 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.436, allocations: 8.016 kB / 0.565 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.436, allocations: 8.484 kB / 0.565 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.4361, allocations: 15.94 kB / 0.5651 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4361, allocations: 0 / 0.5651 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.4361, allocations: 3.906 kB / 0.5651 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4361, allocations: 4 kB / 0.5651 GB, free: 14.79 MB / 394.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 (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 8.214e-05/0.4362, allocations: 117.6 kB / 0.5652 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.4362, allocations: 7.984 kB / 0.5652 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.4364, allocations: 109.4 kB / 0.5653 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4364, allocations: 0 / 0.5653 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4365, allocations: 4 kB / 0.5653 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4365, allocations: 0 / 0.5653 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.4366, allocations: 165.6 kB / 0.5655 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4366, allocations: 0 / 0.5655 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.4367, allocations: 19.98 kB / 0.5655 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4367, allocations: 0 / 0.5655 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4367, allocations: 7.938 kB / 0.5655 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4367, allocations: 3.125 kB / 0.5655 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4367, allocations: 3.938 kB / 0.5655 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.4369, allocations: 109.1 kB / 0.5656 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.4369, allocations: 77.11 kB / 0.5657 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4369, allocations: 7.938 kB / 0.5657 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.437, allocations: 0 / 0.5657 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.437, allocations: 15.92 kB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.437, allocations: 4 kB / 0.5657 GB, free: 14.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.437, allocations: 75.28 kB / 0.5658 GB, free: 13.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.437, allocations: 0 / 0.5658 GB, free: 13.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.4372, allocations: 23.94 kB / 0.5658 GB, free: 13.96 MB / 394.7 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 () * Number of clocked 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.0001486/0.4374, allocations: 119.2 kB / 0.5659 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.4375, allocations: 56.05 kB / 0.566 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4375, allocations: 0 / 0.566 GB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.4376, allocations: 36.02 kB / 0.566 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.4377, allocations: 6.109 kB / 0.566 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.4381, allocations: 175 kB / 0.5662 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4383, allocations: 0.6809 MB / 0.5668 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.4383, allocations: 11.44 kB / 0.5668 GB, free: 12.83 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4383, allocations: 0 / 0.5668 GB, free: 12.83 MB / 394.7 MB Notification: Performance of Templates: time 0.00214/0.4405, allocations: 0.8061 MB / 0.5676 GB, free: 12.03 MB / 394.7 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