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.001081/0.001081, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 198 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.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 71.88 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3721, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001663/0.3738, allocations: 0.5285 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.3746, allocations: 407.3 kB / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.3746, allocations: 0 / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.3747, allocations: 3.938 kB / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.3747, allocations: 0 / 0.5319 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3752, allocations: 147.5 kB / 0.532 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.3753, allocations: 30.16 kB / 0.5321 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.3753, allocations: 7.516 kB / 0.5321 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.3754, allocations: 13.22 kB / 0.5321 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.3754, allocations: 26.72 kB / 0.5321 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3755, allocations: 2.75 kB / 0.5321 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.3757, allocations: 155.3 kB / 0.5323 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3757, allocations: 6.75 kB / 0.5323 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.3758, allocations: 21.23 kB / 0.5323 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.376, allocations: 132.1 kB / 0.5324 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.376, allocations: 0 / 0.5324 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.376, allocations: 1.625 kB / 0.5324 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.376, allocations: 0 / 0.5324 GB, free: 12.57 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.0004333/0.3765, allocations: 362 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3765, allocations: 8.781 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.3766, allocations: 7.875 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3767, allocations: 167.3 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3767, allocations: 6.438 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.3768, allocations: 9.344 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3769, allocations: 71.38 kB / 0.533 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3769, allocations: 9.438 kB / 0.533 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.377, allocations: 0 / 0.533 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.377, allocations: 1.5 kB / 0.533 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3771, allocations: 49.42 kB / 0.5331 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.3773, allocations: 177.5 kB / 0.5332 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3775, allocations: 91.25 kB / 0.5333 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.3775, allocations: 32 kB / 0.5334 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.3779, allocations: 98.55 kB / 0.5335 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3779, allocations: 39.83 kB / 0.5335 GB, free: 11.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3779, allocations: 1.312 kB / 0.5335 GB, free: 11.46 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.1343/0.5122, allocations: 5.613 MB / 0.539 GB, free: 8.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.5122, allocations: 58.52 kB / 0.539 GB, free: 8.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.5123, allocations: 99.03 kB / 0.5391 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5124, allocations: 26.98 kB / 0.5391 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.5124, allocations: 84.64 kB / 0.5392 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.5125, allocations: 79.69 kB / 0.5393 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5126, allocations: 63.2 kB / 0.5394 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.5127, allocations: 325.1 kB / 0.5397 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.513, allocations: 109.3 kB / 0.5398 GB, free: 7.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.5134, allocations: 115.2 kB / 0.5399 GB, free: 7.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.5148, allocations: 322.5 kB / 0.5402 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5148, allocations: 3.938 kB / 0.5402 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00116/0.5159, allocations: 361.3 kB / 0.5405 GB, free: 7.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.516, allocations: 8.125 kB / 0.5406 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.516, allocations: 0 / 0.5406 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.516, allocations: 1.188 kB / 0.5406 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.5164, allocations: 75.36 kB / 0.5406 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5164, allocations: 5.141 kB / 0.5406 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.5166, allocations: 28.62 kB / 0.5407 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.5166, allocations: 18.77 kB / 0.5407 GB, free: 7.191 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.0001059/0.5168, allocations: 121.6 kB / 0.5408 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.5168, allocations: 7.781 kB / 0.5408 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.5182, allocations: 432 kB / 0.5412 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.5182, allocations: 2.219 kB / 0.5412 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5182, allocations: 5.406 kB / 0.5412 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5182, allocations: 0 / 0.5412 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.5203, allocations: 0.7713 MB / 0.542 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5203, allocations: 7.938 kB / 0.542 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.5206, allocations: 72 kB / 0.542 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5206, allocations: 0 / 0.542 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5206, allocations: 15.98 kB / 0.5421 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.5206, allocations: 4 kB / 0.5421 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5206, allocations: 3.938 kB / 0.5421 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.5217, allocations: 428.8 kB / 0.5425 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.5218, allocations: 89.02 kB / 0.5426 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.5218, allocations: 0 / 0.5426 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.522, allocations: 31.89 kB / 0.5426 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.522, allocations: 15.98 kB / 0.5426 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.5221, allocations: 15.98 kB / 0.5426 GB, free: 5.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.77e-05/0.5221, allocations: 75.28 kB / 0.5427 GB, free: 5.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5221, allocations: 0 / 0.5427 GB, free: 5.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001502/0.5236, allocations: 0.6367 MB / 0.5433 GB, free: 4.738 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.003/0.5266, allocations: 291 kB / 0.5436 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007869/0.5274, allocations: 263.5 kB / 0.5438 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5274, allocations: 0 / 0.5438 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.5278, allocations: 131.8 kB / 0.544 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.528, allocations: 12 kB / 0.544 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.529, allocations: 335.4 kB / 0.5443 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.5294, allocations: 0.6931 MB / 0.545 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000236/0.5296, allocations: 81.08 kB / 0.5451 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5298, allocations: 47.39 kB / 0.5451 GB, free: 2.832 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5298, allocations: 0 / 0.5451 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Templates: time 0.0673/0.5971, allocations: 53.89 MB / 0.5977 GB, free: 12.88 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