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.001023/0.001024, allocations: 176.5 kB / 17.41 MB, free: 4.41 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.383/1.383, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007461/0.000746, allocations: 103.1 kB / 271.9 MB, free: 8.246 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.3563/0.3563, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 15.98 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4428, allocations: 84.58 MB / 0.5625 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4431, allocations: 67.97 kB / 0.5626 GB, free: 1.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008411/0.4515, allocations: 3.035 MB / 0.5656 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4516, allocations: 0 / 0.5656 GB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4516, allocations: 0 / 0.5656 GB, free: 14.75 MB / 394.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.0003844/0.452, allocations: 371.1 kB / 0.5659 GB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.452, allocations: 8.031 kB / 0.5659 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.4521, allocations: 8.844 kB / 0.5659 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.4522, allocations: 164.3 kB / 0.5661 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4522, allocations: 4.375 kB / 0.5661 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.4523, allocations: 8.281 kB / 0.5661 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.4524, allocations: 58.17 kB / 0.5662 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4524, allocations: 192 / 0.5662 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4524, allocations: 7.938 kB / 0.5662 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4525, allocations: 7.938 kB / 0.5662 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.4525, allocations: 23.98 kB / 0.5662 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.4527, allocations: 176.8 kB / 0.5664 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4529, allocations: 54.59 kB / 0.5664 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.453, allocations: 28.84 kB / 0.5664 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.4532, allocations: 109.1 kB / 0.5665 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4533, allocations: 34.56 kB / 0.5666 GB, free: 13.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.4533, allocations: 0 / 0.5666 GB, free: 13.54 MB / 394.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.1201/0.5733, allocations: 6.313 MB / 0.5727 GB, free: 7.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.5734, allocations: 55.41 kB / 0.5728 GB, free: 7.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.5735, allocations: 103.7 kB / 0.5729 GB, free: 7.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.5736, allocations: 33.7 kB / 0.5729 GB, free: 6.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.5736, allocations: 80.14 kB / 0.573 GB, free: 6.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.5737, allocations: 67 kB / 0.5731 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.5738, allocations: 4 kB / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5739, allocations: 326.8 kB / 0.5734 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.5745, allocations: 243.8 kB / 0.5736 GB, free: 6.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.575, allocations: 243.8 kB / 0.5739 GB, free: 6.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.5772, allocations: 0.5923 MB / 0.5744 GB, free: 5.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5772, allocations: 0 / 0.5744 GB, free: 5.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001925/0.5791, allocations: 0.6311 MB / 0.575 GB, free: 4.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5791, allocations: 11.94 kB / 0.5751 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5791, allocations: 0 / 0.5751 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5792, allocations: 4 kB / 0.5751 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.5798, allocations: 119.8 kB / 0.5752 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5798, allocations: 0 / 0.5752 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.5803, allocations: 35.95 kB / 0.5752 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.5804, allocations: 39.22 kB / 0.5752 GB, free: 4.594 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 (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.0001537/0.5805, allocations: 121.7 kB / 0.5754 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.5806, allocations: 7.906 kB / 0.5754 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.5828, allocations: 0.7663 MB / 0.5761 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5828, allocations: 0 / 0.5761 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5828, allocations: 0 / 0.5761 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5828, allocations: 0 / 0.5761 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.5869, allocations: 1.229 MB / 0.5773 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5869, allocations: 0 / 0.5773 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.5875, allocations: 111.2 kB / 0.5774 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5875, allocations: 8 kB / 0.5774 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.5876, allocations: 23.95 kB / 0.5775 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5876, allocations: 4 kB / 0.5775 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.5876, allocations: 4.469 kB / 0.5775 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5892, allocations: 0.6094 MB / 0.5781 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.5893, allocations: 85.02 kB / 0.5781 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.5893, allocations: 12 kB / 0.5782 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.5898, allocations: 35.95 kB / 0.5782 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.5898, allocations: 15.92 kB / 0.5782 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.5899, allocations: 31.89 kB / 0.5782 GB, free: 1.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.5899, allocations: 87.28 kB / 0.5783 GB, free: 1.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.59, allocations: 0 / 0.5783 GB, free: 1.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001646/0.5916, allocations: 0.6286 MB / 0.5789 GB, free: 0.6992 MB / 394.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.00273/0.5943, allocations: 354.5 kB / 0.5793 GB, free: 352 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5956, allocations: 483 kB / 0.5797 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5956, allocations: 0 / 0.5797 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.5961, allocations: 224.1 kB / 0.5799 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.5964, allocations: 11.98 kB / 0.58 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.5988, allocations: 0.6126 MB / 0.5805 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.599, allocations: 0.6968 MB / 0.5812 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.5993, allocations: 87.28 kB / 0.5813 GB, free: 14.17 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5993, allocations: 0 / 0.5813 GB, free: 14.17 MB / 410.7 MB Notification: Performance of Templates: time 0.02116/0.6205, allocations: 14.73 MB / 0.5957 GB, free: 15.45 MB / 426.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