Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 205.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.313, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001432/0.3144, allocations: 0.5354 MB / 0.5315 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.3152, allocations: 406.2 kB / 0.5319 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.3152, allocations: 0 / 0.5319 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.3152, allocations: 0 / 0.5319 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.3153, allocations: 3.938 kB / 0.5319 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.3157, allocations: 137.4 kB / 0.532 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.3158, allocations: 35.94 kB / 0.5321 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.3158, allocations: 6.703 kB / 0.5321 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.3159, allocations: 8.625 kB / 0.5321 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.3159, allocations: 21.17 kB / 0.5321 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3159, allocations: 1.25 kB / 0.5321 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3162, allocations: 156.7 kB / 0.5322 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.3162, allocations: 9.797 kB / 0.5322 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3162, allocations: 19.44 kB / 0.5323 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3164, allocations: 130.5 kB / 0.5324 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3164, allocations: 0 / 0.5324 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3164, allocations: 0 / 0.5324 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3165, allocations: 2.312 kB / 0.5324 GB, free: 12.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003944/0.3168, allocations: 361.7 kB / 0.5327 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3169, allocations: 9.875 kB / 0.5327 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.3169, allocations: 3.781 kB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.317, allocations: 166.3 kB / 0.5329 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3171, allocations: 6.312 kB / 0.5329 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3171, allocations: 8.5 kB / 0.5329 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3172, allocations: 58.67 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3172, allocations: 3.938 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3172, allocations: 2.812 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3172, allocations: 3.984 kB / 0.533 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.3173, allocations: 23.92 kB / 0.533 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.3175, allocations: 179.1 kB / 0.5332 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3177, allocations: 64.72 kB / 0.5332 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.3177, allocations: 29.22 kB / 0.5333 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.318, allocations: 109.5 kB / 0.5334 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.318, allocations: 30.56 kB / 0.5334 GB, free: 11.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.318, allocations: 1.375 kB / 0.5334 GB, free: 11.5 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.147/0.465, allocations: 6.382 MB / 0.5396 GB, free: 7.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4651, allocations: 56.53 kB / 0.5397 GB, free: 7.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.4652, allocations: 100.1 kB / 0.5398 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.4652, allocations: 30.83 kB / 0.5398 GB, free: 7.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.4653, allocations: 81.3 kB / 0.5399 GB, free: 7.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.4654, allocations: 63.16 kB / 0.54 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.4656, allocations: 88.78 kB / 0.54 GB, free: 7.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4657, allocations: 324.8 kB / 0.5404 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.4663, allocations: 228.8 kB / 0.5406 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.4669, allocations: 225.8 kB / 0.5408 GB, free: 6.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.469, allocations: 0.5641 MB / 0.5413 GB, free: 6.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.469, allocations: 256 / 0.5413 GB, free: 6.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001917/0.4709, allocations: 0.6098 MB / 0.5419 GB, free: 6.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.471, allocations: 8 kB / 0.5419 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.471, allocations: 4 kB / 0.5419 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.471, allocations: 0 / 0.5419 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.4717, allocations: 111.8 kB / 0.542 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4717, allocations: 0 / 0.542 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.4722, allocations: 23.95 kB / 0.5421 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.4723, allocations: 35.95 kB / 0.5421 GB, free: 6.098 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 (19): * Single equations (assignments): 19 * 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.000159/0.4724, allocations: 121.8 kB / 0.5422 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.4725, allocations: 7.906 kB / 0.5422 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.4747, allocations: 0.7386 MB / 0.543 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4747, allocations: 4 kB / 0.543 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4747, allocations: 0 / 0.543 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.4747, allocations: 0 / 0.543 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.4788, allocations: 1.157 MB / 0.5441 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.4788, allocations: 4 kB / 0.5441 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.4794, allocations: 103.8 kB / 0.5442 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4794, allocations: 4 kB / 0.5442 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.4795, allocations: 23.95 kB / 0.5442 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4795, allocations: 4 kB / 0.5442 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4795, allocations: 0 / 0.5442 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.4812, allocations: 0.5861 MB / 0.5448 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.4813, allocations: 85.02 kB / 0.5449 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.4814, allocations: 8 kB / 0.5449 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.4818, allocations: 27.95 kB / 0.5449 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.4818, allocations: 12.45 kB / 0.5449 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.4819, allocations: 31.95 kB / 0.5449 GB, free: 3.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.482, allocations: 87.28 kB / 0.545 GB, free: 2.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.482, allocations: 0 / 0.545 GB, free: 2.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001966/0.484, allocations: 0.6483 MB / 0.5457 GB, free: 2.312 MB / 398.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 (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.003711/0.4877, allocations: 298.8 kB / 0.546 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.4889, allocations: 455.5 kB / 0.5464 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4889, allocations: 0 / 0.5464 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005368/0.4895, allocations: 203.7 kB / 0.5466 GB, free: 1.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4898, allocations: 8.375 kB / 0.5466 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.4922, allocations: 0.5293 MB / 0.5471 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4925, allocations: 0.6926 MB / 0.5478 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.493, allocations: 128.9 kB / 0.5479 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.4933, allocations: 87.28 kB / 0.548 GB, free: 15.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4933, allocations: 0 / 0.548 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Templates: time 0.06788/0.5612, allocations: 57.41 MB / 0.6041 GB, free: 6.34 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches