Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.00106, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.86 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3479, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002749/0.3507, allocations: 0.536 MB / 0.5315 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.3516, allocations: 411 kB / 0.5319 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.3516, allocations: 0 / 0.5319 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.3517, allocations: 3.938 kB / 0.5319 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.3517, allocations: 0 / 0.5319 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.3523, allocations: 144 kB / 0.532 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.297e-05/0.3524, allocations: 25.98 kB / 0.5321 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.3524, allocations: 5.453 kB / 0.5321 GB, free: 13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.3525, allocations: 11.72 kB / 0.5321 GB, free: 13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.3525, allocations: 26.89 kB / 0.5321 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3526, allocations: 2.656 kB / 0.5321 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3529, allocations: 163.9 kB / 0.5323 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.3529, allocations: 10.27 kB / 0.5323 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.353, allocations: 17.56 kB / 0.5323 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3533, allocations: 132.8 kB / 0.5324 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3533, allocations: 0 / 0.5324 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3533, allocations: 0 / 0.5324 GB, free: 12.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3533, allocations: 0 / 0.5324 GB, free: 12.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005304/0.3538, allocations: 357.7 kB / 0.5328 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3539, allocations: 13.62 kB / 0.5328 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.354, allocations: 11.53 kB / 0.5328 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3541, allocations: 167.7 kB / 0.5329 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3541, allocations: 3.125 kB / 0.5329 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.3542, allocations: 8.5 kB / 0.533 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3543, allocations: 64.05 kB / 0.533 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3544, allocations: 9.219 kB / 0.533 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3544, allocations: 0 / 0.533 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3544, allocations: 1.375 kB / 0.533 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.3545, allocations: 50.08 kB / 0.5331 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.3547, allocations: 178 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3549, allocations: 89.61 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.3549, allocations: 35.91 kB / 0.5334 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.3552, allocations: 102.8 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3553, allocations: 35.94 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3553, allocations: 0 / 0.5335 GB, free: 11.68 MB / 398.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1248/0.48, allocations: 5.618 MB / 0.539 GB, free: 8.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.4801, allocations: 62.67 kB / 0.539 GB, free: 8.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.4802, allocations: 91.08 kB / 0.5391 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.4803, allocations: 30.92 kB / 0.5392 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.4803, allocations: 80.52 kB / 0.5392 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.4804, allocations: 80.2 kB / 0.5393 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4805, allocations: 58.92 kB / 0.5394 GB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4807, allocations: 324 kB / 0.5397 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.4811, allocations: 118 kB / 0.5398 GB, free: 7.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.4815, allocations: 111 kB / 0.5399 GB, free: 7.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.4829, allocations: 326.7 kB / 0.5402 GB, free: 7.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4829, allocations: 0 / 0.5402 GB, free: 7.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00125/0.4842, allocations: 354.4 kB / 0.5405 GB, free: 7.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4842, allocations: 4.438 kB / 0.5405 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4842, allocations: 0.9375 kB / 0.5405 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4843, allocations: 1.25 kB / 0.5405 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.4847, allocations: 86.19 kB / 0.5406 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4847, allocations: 1.031 kB / 0.5406 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4849, allocations: 25.44 kB / 0.5407 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.4849, allocations: 21.64 kB / 0.5407 GB, free: 7.418 MB / 398.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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.4851, allocations: 118.1 kB / 0.5408 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.4851, allocations: 16.08 kB / 0.5408 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.4866, allocations: 431.2 kB / 0.5412 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.4866, allocations: 6.609 kB / 0.5412 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.4866, allocations: 0 / 0.5412 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4866, allocations: 0 / 0.5412 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.4889, allocations: 0.7707 MB / 0.542 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.4889, allocations: 3.938 kB / 0.542 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.4892, allocations: 75.86 kB / 0.542 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4892, allocations: 4 kB / 0.5421 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.4892, allocations: 15.98 kB / 0.5421 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4892, allocations: 3.938 kB / 0.5421 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4893, allocations: 4.062 kB / 0.5421 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.4904, allocations: 432.8 kB / 0.5425 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.4905, allocations: 85.02 kB / 0.5426 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.4905, allocations: 8 kB / 0.5426 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.4907, allocations: 23.91 kB / 0.5426 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.4908, allocations: 19.98 kB / 0.5426 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.4908, allocations: 19.92 kB / 0.5426 GB, free: 5.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.169e-05/0.4908, allocations: 75.28 kB / 0.5427 GB, free: 5.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4908, allocations: 0 / 0.5427 GB, free: 5.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001756/0.4926, allocations: 0.6288 MB / 0.5433 GB, free: 4.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003439/0.4961, allocations: 287 kB / 0.5436 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.4969, allocations: 267.6 kB / 0.5439 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4969, allocations: 0 / 0.5439 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.4973, allocations: 139.9 kB / 0.544 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4975, allocations: 8 kB / 0.544 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.4985, allocations: 331.2 kB / 0.5443 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4988, allocations: 0.697 MB / 0.545 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.499, allocations: 81.08 kB / 0.5451 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.4992, allocations: 47.39 kB / 0.5451 GB, free: 2.996 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4992, allocations: 3.938 kB / 0.5451 GB, free: 2.992 MB / 398.1 MB Notification: Performance of Templates: time 0.07303/0.5722, allocations: 53.88 MB / 0.5977 GB, free: 13.05 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches