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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00105/0.001049, allocations: 91.62 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 205.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 7.984 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 63.47 MB / 481.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0006467/0.1432, allocations: 258.8 kB / 481.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.1438, allocations: 349.7 kB / 482 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.1438, allocations: 0 / 482 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.1438, allocations: 0 / 482 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.1439, allocations: 4 kB / 482 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1442, allocations: 75.78 kB / 482.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.1443, allocations: 15.92 kB / 482.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.1443, allocations: 4 kB / 482.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.1444, allocations: 7.984 kB / 482.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.1444, allocations: 15.92 kB / 482.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1445, allocations: 7.938 kB / 482.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1447, allocations: 107.8 kB / 482.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.1447, allocations: 11.98 kB / 482.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.1447, allocations: 29.7 kB / 482.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1449, allocations: 63.91 kB / 482.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1449, allocations: 0 / 482.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1449, allocations: 0 / 482.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1449, allocations: 0 / 482.3 MB, free: 4.453 MB / 350.1 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.0003851/0.1453, allocations: 355.5 kB / 482.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1453, allocations: 8.031 kB / 482.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1453, allocations: 4 kB / 482.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1455, allocations: 178.8 kB / 482.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1455, allocations: 4 kB / 482.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1455, allocations: 4 kB / 482.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1457, allocations: 49.67 kB / 482.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1457, allocations: 8 kB / 482.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1457, allocations: 0 / 482.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1457, allocations: 0 / 482.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.1458, allocations: 27.92 kB / 482.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1459, allocations: 169.6 kB / 483.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1461, allocations: 58.56 kB / 483.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.1464, allocations: 121 kB / 483.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1465, allocations: 38.78 kB / 483.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1465, allocations: 4 kB / 483.3 MB, free: 3.266 MB / 350.1 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.04114/0.1876, allocations: 2.814 MB / 486.1 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1877, allocations: 55.41 kB / 486.2 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.1878, allocations: 101.8 kB / 486.3 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.1878, allocations: 29.7 kB / 486.3 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.1879, allocations: 80.14 kB / 486.4 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.188, allocations: 63.09 kB / 486.5 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.188, allocations: 4 kB / 486.5 MB, free: 56 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1882, allocations: 323.3 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.1885, allocations: 195.8 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.1889, allocations: 183.9 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.1895, allocations: 226 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1895, allocations: 0 / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001039/0.1905, allocations: 493.3 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1905, allocations: 8 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1906, allocations: 3.938 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1906, allocations: 0 / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.191, allocations: 80.19 kB / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.191, allocations: 4 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1912, allocations: 23.98 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.1913, allocations: 19.98 kB / 488 MB, free: 14.52 MB / 366.1 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.0001333/0.1914, allocations: 121.7 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.1915, allocations: 7.906 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1928, allocations: 0.5788 MB / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1928, allocations: 0 / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1928, allocations: 3.938 kB / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1928, allocations: 0 / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.195, allocations: 0.9363 MB / 489.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.195, allocations: 0 / 489.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.1953, allocations: 84.06 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1953, allocations: 3.953 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.1954, allocations: 23.97 kB / 489.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1954, allocations: 4 kB / 489.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1954, allocations: 3.938 kB / 489.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.1963, allocations: 0.5533 MB / 490.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.1964, allocations: 89.02 kB / 490.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1964, allocations: 0 / 490.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1966, allocations: 35.97 kB / 490.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1967, allocations: 19.88 kB / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.1967, allocations: 19.98 kB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.1968, allocations: 79.28 kB / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1968, allocations: 0 / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009178/0.1977, allocations: 316 kB / 490.9 MB, free: 11.47 MB / 366.1 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.001191/0.1989, allocations: 239.6 kB / 491.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.1997, allocations: 367.7 kB / 491.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1998, allocations: 4 kB / 491.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.2001, allocations: 156.2 kB / 491.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.2003, allocations: 14.7 kB / 491.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2016, allocations: 484.1 kB / 492.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.2019, allocations: 0.7007 MB / 492.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003889/0.2023, allocations: 97.06 kB / 492.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.2025, allocations: 51.41 kB / 492.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2025, allocations: 0 / 492.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of Templates: time 0.02372/0.2262, allocations: 17.47 MB / 0.4984 GB, free: 7.852 MB / 382.1 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