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.0022/0.0022, allocations: 178.4 kB / 8.362 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.026/2.026, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001502/0.001502, allocations: 84.33 kB / 262.1 MB, free: 13.87 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.3163/0.3163, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.965e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3991, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1599/0.5591, allocations: 83.61 MB / 0.5476 GB, free: 15.69 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5594, allocations: 71.95 kB / 0.5476 GB, free: 15.62 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008347/0.5677, allocations: 1.755 MB / 0.5493 GB, free: 13.86 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5678, allocations: 0 / 0.5493 GB, free: 13.86 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.5678, allocations: 4 kB / 0.5493 GB, free: 13.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004093/0.5682, allocations: 350.4 kB / 0.5497 GB, free: 13.47 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5683, allocations: 14.98 kB / 0.5497 GB, free: 13.46 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.5683, allocations: 11.86 kB / 0.5497 GB, free: 13.45 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.5685, allocations: 167.1 kB / 0.5499 GB, free: 13.25 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5685, allocations: 0 / 0.5499 GB, free: 13.25 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.5686, allocations: 4 kB / 0.5499 GB, free: 13.24 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001211/0.5687, allocations: 23.94 kB / 0.5499 GB, free: 13.22 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.5688, allocations: 49.67 kB / 0.5499 GB, free: 13.16 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5689, allocations: 7.984 kB / 0.5499 GB, free: 13.16 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5689, allocations: 0 / 0.5499 GB, free: 13.16 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5689, allocations: 0 / 0.5499 GB, free: 13.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.5691, allocations: 154 kB / 0.5501 GB, free: 12.97 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.5694, allocations: 54.56 kB / 0.5501 GB, free: 12.91 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.5695, allocations: 25.08 kB / 0.5502 GB, free: 12.88 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.5698, allocations: 109.1 kB / 0.5503 GB, free: 12.75 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5699, allocations: 34.5 kB / 0.5503 GB, free: 12.71 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.5699, allocations: 0 / 0.5503 GB, free: 12.71 MB / 395.1 MB Notification: Performance of matching and sorting (n=19): time 0.06922/0.6391, allocations: 2.099 MB / 0.5523 GB, free: 10.58 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.6392, allocations: 51.41 kB / 0.5524 GB, free: 10.52 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.6393, allocations: 97.55 kB / 0.5525 GB, free: 10.41 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.6394, allocations: 25.7 kB / 0.5525 GB, free: 10.38 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.6395, allocations: 154.6 kB / 0.5527 GB, free: 10.23 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6396, allocations: 63.09 kB / 0.5527 GB, free: 10.17 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.6396, allocations: 3.828 kB / 0.5527 GB, free: 10.17 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6398, allocations: 318.8 kB / 0.553 GB, free: 9.848 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.6401, allocations: 140.2 kB / 0.5532 GB, free: 9.711 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.6405, allocations: 132 kB / 0.5533 GB, free: 9.582 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.6413, allocations: 203.8 kB / 0.5535 GB, free: 9.383 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6413, allocations: 0 / 0.5535 GB, free: 9.383 MB / 395.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001406/0.6428, allocations: 405.7 kB / 0.5539 GB, free: 8.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6428, allocations: 12 kB / 0.5539 GB, free: 8.969 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6428, allocations: 0 / 0.5539 GB, free: 8.969 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6429, allocations: 3.984 kB / 0.5539 GB, free: 8.965 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.6436, allocations: 83.94 kB / 0.554 GB, free: 8.883 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6436, allocations: 0 / 0.554 GB, free: 8.883 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.644, allocations: 23.98 kB / 0.554 GB, free: 8.859 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.6441, allocations: 15.98 kB / 0.554 GB, free: 8.844 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 (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.0001471/0.6442, allocations: 108.9 kB / 0.5541 GB, free: 8.73 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.6443, allocations: 7.906 kB / 0.5541 GB, free: 8.723 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.6461, allocations: 497.5 kB / 0.5546 GB, free: 8.234 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6461, allocations: 4 kB / 0.5546 GB, free: 8.23 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6461, allocations: 0 / 0.5546 GB, free: 8.23 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.6462, allocations: 3.984 kB / 0.5546 GB, free: 8.227 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.65, allocations: 0.8291 MB / 0.5554 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6501, allocations: 4 kB / 0.5554 GB, free: 7.332 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.6506, allocations: 76.06 kB / 0.5555 GB, free: 7.258 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.6507, allocations: 8 kB / 0.5555 GB, free: 7.25 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.6507, allocations: 15.95 kB / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6507, allocations: 0 / 0.5555 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.6507, allocations: 4 kB / 0.5555 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.652, allocations: 493.2 kB / 0.556 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.6521, allocations: 85.09 kB / 0.5561 GB, free: 6.578 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.6521, allocations: 11.94 kB / 0.5561 GB, free: 6.566 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.6525, allocations: 19.98 kB / 0.5561 GB, free: 6.547 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.6526, allocations: 19.94 kB / 0.5561 GB, free: 6.527 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.6526, allocations: 15.98 kB / 0.5561 GB, free: 6.512 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.675e-05/0.6527, allocations: 91.28 kB / 0.5562 GB, free: 6.422 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6527, allocations: 3.938 kB / 0.5562 GB, free: 6.418 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001299/0.654, allocations: 335.7 kB / 0.5565 GB, free: 6.09 MB / 395.1 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 () * 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.002071/0.6561, allocations: 262.8 kB / 0.5568 GB, free: 5.82 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0007659/0.6569, allocations: 259.9 kB / 0.557 GB, free: 5.566 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.6569, allocations: 0 / 0.557 GB, free: 5.566 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.6572, allocations: 111.9 kB / 0.5571 GB, free: 5.457 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6575, allocations: 12.33 kB / 0.5572 GB, free: 5.445 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.6594, allocations: 383.7 kB / 0.5575 GB, free: 5.023 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6597, allocations: 0.6965 MB / 0.5582 GB, free: 4.301 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.6601, allocations: 51.41 kB / 0.5582 GB, free: 4.25 MB / 395.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6601, allocations: 3.938 kB / 0.5583 GB, free: 4.246 MB / 395.1 MB Notification: Performance of Templates: time 0.01931/0.6794, allocations: 7.632 MB / 0.5657 GB, free: 12.6 MB / 411.1 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