Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 210.9 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.91 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 66.03 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001775/0.3598, allocations: 0.5265 MB / 0.5616 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.3606, allocations: 370.9 kB / 0.5619 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.3607, allocations: 0 / 0.5619 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.3607, allocations: 7.938 kB / 0.5619 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.3607, allocations: 0 / 0.5619 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.3613, allocations: 159.1 kB / 0.5621 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.3613, allocations: 27.97 kB / 0.5621 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.3614, allocations: 0 / 0.5621 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.3614, allocations: 19.92 kB / 0.5621 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.3615, allocations: 19.92 kB / 0.5622 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.3615, allocations: 0 / 0.5622 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.3617, allocations: 151.8 kB / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.3618, allocations: 11.88 kB / 0.5623 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.3618, allocations: 15.92 kB / 0.5623 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.362, allocations: 122.2 kB / 0.5624 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.362, allocations: 0 / 0.5624 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.362, allocations: 0 / 0.5624 GB, free: 2.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.362, allocations: 0 / 0.5624 GB, free: 2.793 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.000449/0.3625, allocations: 290 kB / 0.5627 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3625, allocations: 11.97 kB / 0.5627 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3626, allocations: 12.89 kB / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3627, allocations: 106.5 kB / 0.5628 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3627, allocations: 12.38 kB / 0.5629 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3627, allocations: 8.375 kB / 0.5629 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3629, allocations: 70.16 kB / 0.5629 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3629, allocations: 3.938 kB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3629, allocations: 4 kB / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3629, allocations: 0 / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.363, allocations: 43.95 kB / 0.563 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3632, allocations: 113.3 kB / 0.5631 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.3633, allocations: 74.55 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.3634, allocations: 36.78 kB / 0.5632 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.3637, allocations: 27.95 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.3637, allocations: 38.56 kB / 0.5633 GB, free: 1.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3637, allocations: 0 / 0.5633 GB, free: 1.848 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.1404/0.5041, allocations: 5.61 MB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5041, allocations: 59.27 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.5042, allocations: 93.84 kB / 0.5689 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.5042, allocations: 33.7 kB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.5043, allocations: 84.45 kB / 0.569 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.5044, allocations: 83.27 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.5045, allocations: 57.67 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5046, allocations: 326.8 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.505, allocations: 116 kB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.5053, allocations: 115.5 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.5069, allocations: 328.5 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5069, allocations: 0 / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001275/0.5081, allocations: 356.1 kB / 0.5703 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5082, allocations: 4 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5082, allocations: 4 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5082, allocations: 0 / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5086, allocations: 83.86 kB / 0.5704 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.5086, allocations: 4 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5089, allocations: 27.95 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.5089, allocations: 15.98 kB / 0.5704 GB, free: 10.39 MB / 414.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.0001299/0.509, allocations: 121.8 kB / 0.5706 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.5091, allocations: 7.953 kB / 0.5706 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.5105, allocations: 425.8 kB / 0.571 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5105, allocations: 4 kB / 0.571 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5105, allocations: 4 kB / 0.571 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5105, allocations: 0 / 0.571 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.5129, allocations: 0.7014 MB / 0.5717 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5129, allocations: 4.062 kB / 0.5717 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.5133, allocations: 75.88 kB / 0.5717 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5133, allocations: 0 / 0.5717 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.5133, allocations: 19.92 kB / 0.5718 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5133, allocations: 4 kB / 0.5718 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5133, allocations: 0 / 0.5718 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.5145, allocations: 420.8 kB / 0.5722 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.5146, allocations: 15.89 kB / 0.5722 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.5146, allocations: 8 kB / 0.5722 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.5148, allocations: 19.97 kB / 0.5722 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.5148, allocations: 27.91 kB / 0.5722 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.5148, allocations: 11.98 kB / 0.5723 GB, free: 8.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.5149, allocations: 79.28 kB / 0.5723 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5149, allocations: 0 / 0.5723 GB, free: 8.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001729/0.5166, allocations: 0.6323 MB / 0.5729 GB, free: 7.746 MB / 414.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.003143/0.5198, allocations: 290.6 kB / 0.5732 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.5206, allocations: 261.8 kB / 0.5735 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5206, allocations: 4 kB / 0.5735 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.5209, allocations: 123.9 kB / 0.5736 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.5212, allocations: 22.88 kB / 0.5736 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009848/0.5222, allocations: 331.4 kB / 0.5739 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.5223, allocations: 80.05 kB / 0.574 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.5225, allocations: 77.08 kB / 0.5741 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.5226, allocations: 39.41 kB / 0.5741 GB, free: 6.48 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5226, allocations: 4 kB / 0.5741 GB, free: 6.477 MB / 414.1 MB Notification: Performance of Templates: time 0.08097/0.6036, allocations: 54.14 MB / 0.627 GB, free: 304 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.995819673873484]