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.001126/0.001126, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, 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.2053/0.2053, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3226, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001482/0.3241, allocations: 0.5421 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.3248, allocations: 401.8 kB / 0.5319 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.3248, allocations: 0 / 0.5319 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.3248, allocations: 0 / 0.5319 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.294e-05/0.3249, allocations: 5.219 kB / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.3253, allocations: 143.8 kB / 0.532 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.3254, allocations: 26.98 kB / 0.5321 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.3255, allocations: 7.328 kB / 0.5321 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.3255, allocations: 17.48 kB / 0.5321 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.3255, allocations: 20.23 kB / 0.5321 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3256, allocations: 2.281 kB / 0.5321 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.3258, allocations: 155.5 kB / 0.5322 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.3258, allocations: 2.562 kB / 0.5323 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.3259, allocations: 23.55 kB / 0.5323 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3261, allocations: 122.4 kB / 0.5324 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3261, allocations: 5.812 kB / 0.5324 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3261, allocations: 0 / 0.5324 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3261, allocations: 0 / 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.0003916/0.3265, allocations: 370.2 kB / 0.5327 GB, free: 12.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3265, allocations: 8.562 kB / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.3266, allocations: 3.438 kB / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3267, allocations: 174.6 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3267, allocations: 3.625 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3268, allocations: 2.25 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3269, allocations: 62.45 kB / 0.533 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3269, allocations: 9.453 kB / 0.533 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3269, allocations: 0 / 0.533 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3269, allocations: 1.5 kB / 0.533 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.327, allocations: 28.7 kB / 0.533 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.3272, allocations: 167.5 kB / 0.5332 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3274, allocations: 60.17 kB / 0.5332 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.3274, allocations: 24.8 kB / 0.5333 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.3277, allocations: 113.2 kB / 0.5334 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3277, allocations: 32.06 kB / 0.5334 GB, free: 11.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3277, allocations: 0 / 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.1328/0.4605, allocations: 6.393 MB / 0.5397 GB, free: 7.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4606, allocations: 57.81 kB / 0.5397 GB, free: 7.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.4607, allocations: 99.61 kB / 0.5398 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4607, allocations: 26.86 kB / 0.5398 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.4608, allocations: 89.16 kB / 0.5399 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.4608, allocations: 62.5 kB / 0.54 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.461, allocations: 85.06 kB / 0.5401 GB, free: 7.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4611, allocations: 325.1 kB / 0.5404 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.4617, allocations: 229.4 kB / 0.5406 GB, free: 7.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.4622, allocations: 233.8 kB / 0.5408 GB, free: 6.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.4644, allocations: 0.5598 MB / 0.5414 GB, free: 6.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4644, allocations: 0 / 0.5414 GB, free: 6.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00184/0.4662, allocations: 0.6121 MB / 0.5419 GB, free: 6.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4662, allocations: 4 kB / 0.542 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4663, allocations: 4 kB / 0.542 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.4663, allocations: 3.984 kB / 0.542 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.4669, allocations: 107.8 kB / 0.5421 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.467, allocations: 3.984 kB / 0.5421 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.4674, allocations: 23.97 kB / 0.5421 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.4674, allocations: 31.94 kB / 0.5421 GB, free: 6.125 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.0001525/0.4676, allocations: 125.8 kB / 0.5422 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.4677, allocations: 8.203 kB / 0.5422 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.4698, allocations: 0.7347 MB / 0.543 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4698, allocations: 0 / 0.543 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4698, allocations: 0 / 0.543 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4698, allocations: 11.98 kB / 0.543 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.4736, allocations: 1.149 MB / 0.5441 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4737, allocations: 192 / 0.5441 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.4742, allocations: 103.8 kB / 0.5442 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4742, allocations: 0 / 0.5442 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.4743, allocations: 31.95 kB / 0.5442 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4743, allocations: 0 / 0.5442 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4743, allocations: 4 kB / 0.5442 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.4759, allocations: 0.5898 MB / 0.5448 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.476, allocations: 85.06 kB / 0.5449 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.476, allocations: 0 / 0.5449 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.4765, allocations: 31.95 kB / 0.5449 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.4765, allocations: 12.45 kB / 0.5449 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.4765, allocations: 31.95 kB / 0.545 GB, free: 3.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.4766, allocations: 75.28 kB / 0.545 GB, free: 3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4766, allocations: 11.94 kB / 0.545 GB, free: 2.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001576/0.4782, allocations: 0.6518 MB / 0.5457 GB, free: 2.336 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.003038/0.4812, allocations: 298.5 kB / 0.546 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.4824, allocations: 459.5 kB / 0.5464 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4824, allocations: 3.938 kB / 0.5464 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.483, allocations: 191.8 kB / 0.5466 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4833, allocations: 16 kB / 0.5466 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.4855, allocations: 0.5373 MB / 0.5471 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.4858, allocations: 0.6926 MB / 0.5478 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.4862, allocations: 125.1 kB / 0.5479 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.4866, allocations: 91.23 kB / 0.548 GB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4866, allocations: 0 / 0.548 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Templates: time 0.07258/0.5592, allocations: 57.41 MB / 0.6041 GB, free: 6.359 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