Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 97.14 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3173/0.3173, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002384, allocations: 8 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3206, allocations: 63.24 MB / 0.5192 GB, free: 43.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.4217, allocations: 86.51 MB / 0.6037 GB, free: 3.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.4219, allocations: 63.95 kB / 0.6037 GB, free: 3.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005/0.427, allocations: 1.804 MB / 0.6055 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.427, allocations: 0 / 0.6055 GB, free: 1.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.427, allocations: 0 / 0.6055 GB, free: 1.309 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.0003522/0.4274, allocations: 363.2 kB / 0.6058 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4274, allocations: 12.03 kB / 0.6058 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.4274, allocations: 7.859 kB / 0.6058 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4276, allocations: 170 kB / 0.606 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4276, allocations: 3.938 kB / 0.606 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.4276, allocations: 11.98 kB / 0.606 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4278, allocations: 49.62 kB / 0.6061 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4278, allocations: 4 kB / 0.6061 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.4278, allocations: 0 / 0.6061 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4278, allocations: 4 kB / 0.6061 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.4279, allocations: 31.97 kB / 0.6061 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.4281, allocations: 169.5 kB / 0.6063 GB, free: 368 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.4284, allocations: 62.58 kB / 0.6063 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.4286, allocations: 109.1 kB / 0.6064 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4286, allocations: 34.56 kB / 0.6065 GB, free: 124 kB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4286, allocations: 0 / 0.6065 GB, free: 124 kB / 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.03989/0.4685, allocations: 2.813 MB / 0.6092 GB, free: 13.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.4686, allocations: 55.41 kB / 0.6093 GB, free: 13.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.4687, allocations: 96.98 kB / 0.6094 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.4688, allocations: 29.7 kB / 0.6094 GB, free: 13.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.4688, allocations: 80.14 kB / 0.6095 GB, free: 12.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.4689, allocations: 63.02 kB / 0.6095 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.4689, allocations: 4 kB / 0.6095 GB, free: 12.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.469, allocations: 326.8 kB / 0.6098 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.4694, allocations: 187.9 kB / 0.61 GB, free: 12.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.4698, allocations: 191.8 kB / 0.6102 GB, free: 12.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.4703, allocations: 225.5 kB / 0.6104 GB, free: 12.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4703, allocations: 0 / 0.6104 GB, free: 12.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001003/0.4713, allocations: 491.8 kB / 0.6109 GB, free: 11.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4714, allocations: 8 kB / 0.6109 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4714, allocations: 0 / 0.6109 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4714, allocations: 256 / 0.6109 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.4718, allocations: 83.88 kB / 0.611 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4718, allocations: 4 kB / 0.611 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.4721, allocations: 27.94 kB / 0.611 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.4721, allocations: 19.98 kB / 0.611 GB, free: 11.38 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.0001223/0.4722, allocations: 113.8 kB / 0.6111 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.4723, allocations: 4 kB / 0.6111 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.4736, allocations: 0.5759 MB / 0.6117 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4736, allocations: 4 kB / 0.6117 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4736, allocations: 0 / 0.6117 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4736, allocations: 0 / 0.6117 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.4758, allocations: 0.9543 MB / 0.6126 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4758, allocations: 0 / 0.6126 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.4762, allocations: 80.06 kB / 0.6127 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4762, allocations: 4 kB / 0.6127 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.4762, allocations: 19.98 kB / 0.6127 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4762, allocations: 7.938 kB / 0.6127 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4762, allocations: 0 / 0.6127 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.4771, allocations: 0.5494 MB / 0.6133 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.4772, allocations: 85.02 kB / 0.6134 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.4772, allocations: 7.953 kB / 0.6134 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4775, allocations: 35.97 kB / 0.6134 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.4775, allocations: 11.98 kB / 0.6134 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.4775, allocations: 19.97 kB / 0.6134 GB, free: 8.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.4776, allocations: 83.28 kB / 0.6135 GB, free: 8.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4776, allocations: 0 / 0.6135 GB, free: 8.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008604/0.4784, allocations: 343.7 kB / 0.6138 GB, free: 8.332 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.001231/0.4797, allocations: 282.8 kB / 0.6141 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007828/0.4805, allocations: 371.1 kB / 0.6145 GB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4805, allocations: 0 / 0.6145 GB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.4808, allocations: 163.8 kB / 0.6146 GB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.481, allocations: 4.375 kB / 0.6146 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.4823, allocations: 493.8 kB / 0.6151 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4826, allocations: 0.7045 MB / 0.6158 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.483, allocations: 97.06 kB / 0.6159 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.4831, allocations: 51.41 kB / 0.6159 GB, free: 6.109 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4832, allocations: 0 / 0.6159 GB, free: 6.109 MB / 426.7 MB Notification: Performance of Templates: time 0.01063/0.4938, allocations: 7.621 MB / 0.6234 GB, free: 14.59 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches