Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,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.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,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.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.123/2.123, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001051/0.001051, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4254/0.4254, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.732e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.5858, allocations: 84.47 MB / 0.5553 GB, free: 3.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.5861, allocations: 65.83 kB / 0.5554 GB, free: 3.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.5999, allocations: 3.019 MB / 0.5583 GB, free: 0.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5999, allocations: 0 / 0.5583 GB, free: 0.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5999, allocations: 0 / 0.5583 GB, free: 0.543 MB / 362.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.0003437/0.6003, allocations: 354.2 kB / 0.5586 GB, free: 160 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6004, allocations: 12.03 kB / 0.5586 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.6004, allocations: 6.344 kB / 0.5587 GB, free: 144 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.6006, allocations: 178.9 kB / 0.5588 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.6006, allocations: 0 / 0.5588 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.6006, allocations: 7.938 kB / 0.5588 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.6008, allocations: 53.44 kB / 0.5589 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6008, allocations: 4 kB / 0.5589 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6008, allocations: 0 / 0.5589 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6009, allocations: 0 / 0.5589 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.601, allocations: 31.86 kB / 0.5589 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.6012, allocations: 172.9 kB / 0.5591 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.6015, allocations: 57.62 kB / 0.5591 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.6016, allocations: 24.73 kB / 0.5592 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/0.602, allocations: 116.9 kB / 0.5593 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.6021, allocations: 30.84 kB / 0.5593 GB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 4.549e-06/0.6021, allocations: 0 / 0.5593 GB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.2413/0.8434, allocations: 5.391 MB / 0.5646 GB, free: 10.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.8435, allocations: 51.41 kB / 0.5646 GB, free: 10.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.8436, allocations: 96.62 kB / 0.5647 GB, free: 10.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.8437, allocations: 29.58 kB / 0.5647 GB, free: 9.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.8437, allocations: 150.6 kB / 0.5649 GB, free: 9.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.8439, allocations: 66.97 kB / 0.5649 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.844, allocations: 4 kB / 0.5649 GB, free: 9.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8441, allocations: 314.8 kB / 0.5652 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.8446, allocations: 196.6 kB / 0.5654 GB, free: 9.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.8451, allocations: 188.2 kB / 0.5656 GB, free: 9.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.8467, allocations: 232.9 kB / 0.5658 GB, free: 9.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8467, allocations: 0 / 0.5658 GB, free: 9.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002375/0.8491, allocations: 0.5377 MB / 0.5664 GB, free: 8.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.8492, allocations: 4 kB / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8492, allocations: 0 / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8492, allocations: 4 kB / 0.5664 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.8505, allocations: 111.8 kB / 0.5665 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.8506, allocations: 3.984 kB / 0.5665 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.8515, allocations: 39.55 kB / 0.5665 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.8516, allocations: 35.88 kB / 0.5666 GB, free: 8.512 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 () * 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.8518, allocations: 115.4 kB / 0.5667 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.8519, allocations: 7.906 kB / 0.5667 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.855, allocations: 0.6442 MB / 0.5673 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.855, allocations: 4 kB / 0.5673 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.855, allocations: 0 / 0.5673 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.8551, allocations: 7.922 kB / 0.5673 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006609/0.8617, allocations: 1.112 MB / 0.5684 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.8617, allocations: 7.953 kB / 0.5684 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.8629, allocations: 104 kB / 0.5685 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.8629, allocations: 4.25 kB / 0.5685 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.863, allocations: 27.33 kB / 0.5685 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.8631, allocations: 11.94 kB / 0.5685 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8631, allocations: 0 / 0.5685 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.8653, allocations: 0.5767 MB / 0.5691 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8654, allocations: 85.11 kB / 0.5692 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.8655, allocations: 7.141 kB / 0.5692 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008843/0.8664, allocations: 35.83 kB / 0.5692 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.8665, allocations: 11.98 kB / 0.5692 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.705e-05/0.8666, allocations: 27.95 kB / 0.5693 GB, free: 5.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.8666, allocations: 86.72 kB / 0.5694 GB, free: 5.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8667, allocations: 0 / 0.5694 GB, free: 5.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002488/0.8692, allocations: 0.6312 MB / 0.57 GB, free: 5.215 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 () * 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.004941/0.8741, allocations: 337.5 kB / 0.5703 GB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.8754, allocations: 379.7 kB / 0.5707 GB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8754, allocations: 0 / 0.5707 GB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.876, allocations: 167.8 kB / 0.5708 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.8763, allocations: 15.48 kB / 0.5708 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.8803, allocations: 0.4889 MB / 0.5713 GB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.8806, allocations: 0.6968 MB / 0.572 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.8812, allocations: 94.66 kB / 0.5721 GB, free: 3.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8812, allocations: 0 / 0.5721 GB, free: 3.195 MB / 378.7 MB Notification: Performance of Templates: time 0.03875/0.92, allocations: 16.95 MB / 0.5886 GB, free: 2.215 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches