Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.7 kB / 18.09 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008588/0.0008586, allocations: 94.73 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3514/0.3514, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 8 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3387, allocations: 61.88 MB / 0.5107 GB, free: 38.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.4535, allocations: 85.67 MB / 0.5944 GB, free: 9.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4537, allocations: 67.95 kB / 0.5945 GB, free: 9.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008926/0.4626, allocations: 3.041 MB / 0.5974 GB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4627, allocations: 0 / 0.5974 GB, free: 6.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4627, allocations: 4 kB / 0.5974 GB, free: 6.293 MB / 410.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.0003628/0.463, allocations: 371.4 kB / 0.5978 GB, free: 5.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4631, allocations: 11.97 kB / 0.5978 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.4631, allocations: 8.844 kB / 0.5978 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.4633, allocations: 172.2 kB / 0.598 GB, free: 5.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4633, allocations: 16.36 kB / 0.598 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.4634, allocations: 4.375 kB / 0.598 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4635, allocations: 50.25 kB / 0.598 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4635, allocations: 4.094 kB / 0.598 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4635, allocations: 3.938 kB / 0.598 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4636, allocations: 0 / 0.598 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/0.4636, allocations: 31.91 kB / 0.5981 GB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.4638, allocations: 169.7 kB / 0.5982 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.464, allocations: 58.55 kB / 0.5983 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.4641, allocations: 20.86 kB / 0.5983 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.4643, allocations: 113.1 kB / 0.5984 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4644, allocations: 34.84 kB / 0.5984 GB, free: 5.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.4644, allocations: 4 kB / 0.5985 GB, free: 5.059 MB / 410.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.1146/0.5789, allocations: 6.318 MB / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.579, allocations: 55.34 kB / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.5791, allocations: 105.8 kB / 0.6048 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.5792, allocations: 25.7 kB / 0.6048 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.5793, allocations: 84.14 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.5794, allocations: 66.95 kB / 0.6049 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.5794, allocations: 4 kB / 0.6049 GB, free: 14.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5795, allocations: 326.8 kB / 0.6053 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.5801, allocations: 243.8 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.5806, allocations: 241.9 kB / 0.6057 GB, free: 13.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.5826, allocations: 0.593 MB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5826, allocations: 0 / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001744/0.5844, allocations: 0.6416 MB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.5844, allocations: 11.98 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5844, allocations: 0 / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5844, allocations: 0 / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.5851, allocations: 115.8 kB / 0.6071 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.5851, allocations: 0 / 0.6071 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.5855, allocations: 31.97 kB / 0.6071 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.5856, allocations: 31.94 kB / 0.6071 GB, free: 12.11 MB / 426.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.0001484/0.5857, allocations: 129.7 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.5858, allocations: 11.91 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5879, allocations: 0.7514 MB / 0.608 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.588, allocations: 0 / 0.608 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.588, allocations: 4 kB / 0.608 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.588, allocations: 3.984 kB / 0.608 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.5918, allocations: 1.223 MB / 0.6092 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5918, allocations: 4.188 kB / 0.6092 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.5923, allocations: 103.9 kB / 0.6093 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5924, allocations: 0 / 0.6093 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.5924, allocations: 31.95 kB / 0.6093 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5924, allocations: 0 / 0.6093 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5924, allocations: 8.188 kB / 0.6093 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.594, allocations: 0.6116 MB / 0.6099 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.5941, allocations: 85.02 kB / 0.61 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.5941, allocations: 12.41 kB / 0.61 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.5945, allocations: 39.95 kB / 0.6101 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.5946, allocations: 19.92 kB / 0.6101 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.5946, allocations: 27.95 kB / 0.6101 GB, free: 8.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.5947, allocations: 79.28 kB / 0.6102 GB, free: 8.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5947, allocations: 3.938 kB / 0.6102 GB, free: 8.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001796/0.5965, allocations: 0.6325 MB / 0.6108 GB, free: 8.203 MB / 426.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.003007/0.5995, allocations: 355 kB / 0.6111 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.6007, allocations: 479.5 kB / 0.6116 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6007, allocations: 0 / 0.6116 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.6012, allocations: 216.1 kB / 0.6118 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.6015, allocations: 11.94 kB / 0.6118 GB, free: 7.156 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.6038, allocations: 0.5819 MB / 0.6124 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.6041, allocations: 0.7007 MB / 0.6131 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005703/0.6047, allocations: 120.9 kB / 0.6132 GB, free: 5.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.605, allocations: 95.28 kB / 0.6133 GB, free: 5.582 MB / 426.7 MB Notification: Performance of SimCode: time 2.434e-06/0.605, allocations: 0 / 0.6133 GB, free: 5.582 MB / 426.7 MB Notification: Performance of Templates: time 0.07058/0.6756, allocations: 51.31 MB / 0.6634 GB, free: 2.32 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches