Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001304/0.001303, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.571/1.571, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008749/0.0008749, allocations: 86.86 kB / 270.2 MB, free: 13.36 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.2211/0.2211, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5034, allocations: 84.56 MB / 0.5613 GB, free: 15.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5037, allocations: 66.19 kB / 0.5614 GB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009393/0.5131, allocations: 3.035 MB / 0.5644 GB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5131, allocations: 0 / 0.5644 GB, free: 12.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.5131, allocations: 4 kB / 0.5644 GB, free: 12.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004524/0.5136, allocations: 362.5 kB / 0.5647 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.5137, allocations: 8.031 kB / 0.5647 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.5137, allocations: 4 kB / 0.5647 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.5139, allocations: 171 kB / 0.5649 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.5139, allocations: 8 kB / 0.5649 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.514, allocations: 11.5 kB / 0.5649 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.5141, allocations: 48.69 kB / 0.565 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5141, allocations: 3.906 kB / 0.565 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5141, allocations: 0 / 0.565 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5141, allocations: 0 / 0.565 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.5142, allocations: 30.72 kB / 0.565 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.5144, allocations: 176.8 kB / 0.5652 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.5147, allocations: 60.67 kB / 0.5652 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.5149, allocations: 109.1 kB / 0.5653 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.515, allocations: 30.56 kB / 0.5653 GB, free: 11.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.515, allocations: 0 / 0.5653 GB, free: 11.45 MB / 378.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.1305/0.6455, allocations: 6.325 MB / 0.5715 GB, free: 5.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.6456, allocations: 51.41 kB / 0.5716 GB, free: 5.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.6457, allocations: 95.55 kB / 0.5717 GB, free: 5.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.6458, allocations: 32.45 kB / 0.5717 GB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.6459, allocations: 81.27 kB / 0.5718 GB, free: 5.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.6461, allocations: 67.19 kB / 0.5718 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.6461, allocations: 2.688 kB / 0.5718 GB, free: 5.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6463, allocations: 322.8 kB / 0.5721 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.6469, allocations: 250.6 kB / 0.5724 GB, free: 4.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.6474, allocations: 247.8 kB / 0.5726 GB, free: 4.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.6485, allocations: 292.8 kB / 0.5729 GB, free: 4.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6485, allocations: 0 / 0.5729 GB, free: 4.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001856/0.6504, allocations: 0.6391 MB / 0.5735 GB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6504, allocations: 4 kB / 0.5735 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6504, allocations: 0 / 0.5735 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6504, allocations: 0 / 0.5735 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.6512, allocations: 124.6 kB / 0.5736 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6512, allocations: 4 kB / 0.5737 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.6517, allocations: 35.7 kB / 0.5737 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.6518, allocations: 35.89 kB / 0.5737 GB, free: 3.551 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 () * 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.0001527/0.6519, allocations: 120.4 kB / 0.5738 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.652, allocations: 11.91 kB / 0.5738 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.6543, allocations: 0.7633 MB / 0.5746 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6543, allocations: 4 kB / 0.5746 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6543, allocations: 0 / 0.5746 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6543, allocations: 0 / 0.5746 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.6597, allocations: 1.22 MB / 0.5758 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.6597, allocations: 8.188 kB / 0.5758 GB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.6605, allocations: 107.8 kB / 0.5759 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.6605, allocations: 4 kB / 0.5759 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.6606, allocations: 27.83 kB / 0.5759 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.6606, allocations: 4 kB / 0.5759 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6606, allocations: 480 / 0.5759 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.6626, allocations: 0.6778 MB / 0.5766 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.6627, allocations: 92.89 kB / 0.5767 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.6628, allocations: 4 kB / 0.5767 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.6632, allocations: 39.84 kB / 0.5767 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.6633, allocations: 11.92 kB / 0.5767 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.6634, allocations: 35.7 kB / 0.5768 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.6634, allocations: 79.28 kB / 0.5768 GB, free: 0.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6634, allocations: 4 kB / 0.5769 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001873/0.6653, allocations: 0.6284 MB / 0.5775 GB, free: 15.95 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.002746/0.6681, allocations: 354.2 kB / 0.5778 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.6692, allocations: 480 kB / 0.5783 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6693, allocations: 0 / 0.5783 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.6698, allocations: 225.7 kB / 0.5785 GB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.67, allocations: 7.953 kB / 0.5785 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.6726, allocations: 0.5882 MB / 0.5791 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.6729, allocations: 0.7007 MB / 0.5797 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.6735, allocations: 124.9 kB / 0.5799 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.6738, allocations: 87.28 kB / 0.5799 GB, free: 13.55 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.6738, allocations: 0 / 0.5799 GB, free: 13.55 MB / 394.7 MB Notification: Performance of Templates: time 0.03403/0.7079, allocations: 20.25 MB / 0.5997 GB, free: 9.258 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches