Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000861/0.000861, allocations: 107.8 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5455/0.5455, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002717, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3447, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4618, allocations: 86.56 MB / 0.601 GB, free: 2.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4621, allocations: 71.95 kB / 0.6011 GB, free: 2.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008921/0.471, allocations: 3.044 MB / 0.604 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.471, allocations: 4 kB / 0.604 GB, free: 15.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4711, allocations: 0 / 0.604 GB, free: 15.71 MB / 426.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.0003542/0.4714, allocations: 375.3 kB / 0.6044 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4715, allocations: 8.875 kB / 0.6044 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.4715, allocations: 8.844 kB / 0.6044 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4717, allocations: 164.3 kB / 0.6046 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4717, allocations: 8.312 kB / 0.6046 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.4717, allocations: 4.375 kB / 0.6046 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4718, allocations: 62.17 kB / 0.6046 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4719, allocations: 8.094 kB / 0.6047 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4719, allocations: 3.938 kB / 0.6047 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4719, allocations: 0 / 0.6047 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.472, allocations: 23.98 kB / 0.6047 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.4722, allocations: 169.7 kB / 0.6048 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.4724, allocations: 54.59 kB / 0.6049 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.4724, allocations: 32.84 kB / 0.6049 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.4727, allocations: 105.1 kB / 0.605 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4727, allocations: 34.56 kB / 0.6051 GB, free: 14.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.4727, allocations: 0 / 0.6051 GB, free: 14.48 MB / 426.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.1128/0.5855, allocations: 6.323 MB / 0.6112 GB, free: 8.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.5856, allocations: 55.41 kB / 0.6113 GB, free: 8.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.5856, allocations: 97.8 kB / 0.6114 GB, free: 7.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.5857, allocations: 33.7 kB / 0.6114 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.5858, allocations: 80.14 kB / 0.6115 GB, free: 7.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.5858, allocations: 70.98 kB / 0.6116 GB, free: 7.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.5859, allocations: 4 kB / 0.6116 GB, free: 7.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.586, allocations: 322.8 kB / 0.6119 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.5866, allocations: 243.8 kB / 0.6121 GB, free: 7.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.5871, allocations: 250.3 kB / 0.6123 GB, free: 6.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.5892, allocations: 0.5864 MB / 0.6129 GB, free: 6.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5892, allocations: 480 / 0.6129 GB, free: 6.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001775/0.5909, allocations: 0.6429 MB / 0.6135 GB, free: 5.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.591, allocations: 6.188 kB / 0.6135 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.591, allocations: 0 / 0.6135 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.591, allocations: 4 kB / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.5917, allocations: 119.7 kB / 0.6137 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.5917, allocations: 0 / 0.6137 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.5921, allocations: 39.95 kB / 0.6137 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.5922, allocations: 31.94 kB / 0.6137 GB, free: 5.52 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.0001479/0.5923, allocations: 121.7 kB / 0.6139 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.5924, allocations: 11.89 kB / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.5945, allocations: 0.7657 MB / 0.6146 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5945, allocations: 0 / 0.6146 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5945, allocations: 256 / 0.6146 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5945, allocations: 0 / 0.6146 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.5985, allocations: 1.223 MB / 0.6158 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5985, allocations: 4 kB / 0.6158 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.599, allocations: 112 kB / 0.6159 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.599, allocations: 4 kB / 0.6159 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.5991, allocations: 23.95 kB / 0.6159 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.5991, allocations: 4 kB / 0.6159 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5991, allocations: 3.938 kB / 0.616 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.6007, allocations: 0.6172 MB / 0.6166 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.6008, allocations: 89.02 kB / 0.6166 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.6009, allocations: 4 kB / 0.6166 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.6013, allocations: 35.95 kB / 0.6167 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.6013, allocations: 11.98 kB / 0.6167 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.6014, allocations: 35.95 kB / 0.6167 GB, free: 2.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.6014, allocations: 79.22 kB / 0.6168 GB, free: 2.238 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6014, allocations: 4 kB / 0.6168 GB, free: 2.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001623/0.603, allocations: 0.6247 MB / 0.6174 GB, free: 1.609 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.00277/0.6058, allocations: 355.5 kB / 0.6178 GB, free: 1.254 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.607, allocations: 475.6 kB / 0.6182 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.607, allocations: 0 / 0.6182 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.6075, allocations: 216.1 kB / 0.6184 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.6078, allocations: 15.98 kB / 0.6184 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.6102, allocations: 0.617 MB / 0.619 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.6104, allocations: 0.6968 MB / 0.6197 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.6107, allocations: 95.28 kB / 0.6198 GB, free: 15.07 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6108, allocations: 0 / 0.6198 GB, free: 15.07 MB / 442.7 MB Notification: Performance of Templates: time 0.021/0.6318, allocations: 14.72 MB / 0.6342 GB, free: 440 kB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches