Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009323/0.0009323, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001285/0.001285, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9635/0.9635, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1353/0.1353, allocations: 32.36 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.819e-05/4.129e-05, allocations: 2.312 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001455/0.001497, allocations: 0.5539 MB / 348.2 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000591/0.002088, allocations: 390.8 kB / 348.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.002125, allocations: 0 / 348.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.002152, allocations: 3.938 kB / 348.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.137e-05/0.002183, allocations: 4 kB / 348.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.002624, allocations: 143.4 kB / 348.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.002678, allocations: 23.97 kB / 348.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.002719, allocations: 4 kB / 348.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.002756, allocations: 23.91 kB / 348.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.002808, allocations: 15.98 kB / 348.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.002821, allocations: 0 / 348.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.003015, allocations: 135.8 kB / 348.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.003035, allocations: 15.92 kB / 349 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.003056, allocations: 11.98 kB / 349 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.003237, allocations: 151.5 kB / 349.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.003241, allocations: 3.984 kB / 349.1 MB, free: 8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.003242, allocations: 0 / 349.1 MB, free: 8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.003248, allocations: 3.938 kB / 349.1 MB, free: 7.996 MB / 282.7 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.0003561/0.003604, allocations: 396.3 kB / 349.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.003659, allocations: 8.031 kB / 349.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.003717, allocations: 8.938 kB / 349.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.003807, allocations: 108.6 kB / 349.6 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.003824, allocations: 12.38 kB / 349.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.003859, allocations: 8.328 kB / 349.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.003992, allocations: 58.23 kB / 349.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.004005, allocations: 4.172 kB / 349.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.004018, allocations: 384 / 349.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.004028, allocations: 8.125 kB / 349.7 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.004095, allocations: 35.91 kB / 349.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.004239, allocations: 140.5 kB / 349.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.004351, allocations: 75.03 kB / 350 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.004388, allocations: 27.67 kB / 350 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.004616, allocations: 35.91 kB / 350 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.004638, allocations: 37.39 kB / 350.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.004639, allocations: 0 / 350.1 MB, free: 6.926 MB / 282.7 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.05775/0.06239, allocations: 5.409 MB / 355.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.06242, allocations: 59.41 kB / 355.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.06249, allocations: 153.9 kB / 355.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.06251, allocations: 29.7 kB / 355.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.06252, allocations: 127.2 kB / 355.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.06258, allocations: 75.34 kB / 355.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.06265, allocations: 67.33 kB / 356 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.06271, allocations: 0.4923 MB / 356.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.0628, allocations: 59.95 kB / 356.5 MB, free: 368 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.06288, allocations: 69.12 kB / 356.6 MB, free: 300 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.06338, allocations: 211.9 kB / 356.8 MB, free: 84 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.06338, allocations: 12.06 kB / 356.8 MB, free: 72 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004866/0.06387, allocations: 257.4 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.06389, allocations: 4 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.06389, allocations: 0 / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.06392, allocations: 0 / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.06416, allocations: 87.78 kB / 357.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.06417, allocations: 7.984 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.06426, allocations: 27.97 kB / 357.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.06428, allocations: 15.98 kB / 357.2 MB, free: 15.67 MB / 298.7 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.0001152/0.0644, allocations: 176.4 kB / 357.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.06444, allocations: 11.95 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.06508, allocations: 326 kB / 357.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.06508, allocations: 0 / 357.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.06508, allocations: 0 / 357.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.06509, allocations: 4 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.06624, allocations: 0.6681 MB / 358.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.06624, allocations: 4.062 kB / 358.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.0664, allocations: 79.86 kB / 358.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.06641, allocations: 0 / 358.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.06643, allocations: 15.98 kB / 358.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.06643, allocations: 4 kB / 358.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.06643, allocations: 3.938 kB / 358.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.06691, allocations: 391.2 kB / 358.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.06692, allocations: 3.953 kB / 358.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.06694, allocations: 12 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.06704, allocations: 31.89 kB / 358.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.06707, allocations: 11.98 kB / 358.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.06709, allocations: 15.98 kB / 358.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.06712, allocations: 119.2 kB / 359.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06712, allocations: 0 / 359.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001386/0.06851, allocations: 0.6324 MB / 359.7 MB, free: 13.09 MB / 298.7 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.002235/0.07074, allocations: 326.6 kB / 360 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.07105, allocations: 167.7 kB / 360.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.07105, allocations: 0 / 360.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.07116, allocations: 99.44 kB / 360.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.07136, allocations: 27.98 kB / 360.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.0719, allocations: 306.2 kB / 360.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.07195, allocations: 67.84 kB / 360.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.07209, allocations: 73.16 kB / 360.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/0.07219, allocations: 48.45 kB / 360.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.07219, allocations: 4 kB / 360.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Templates: time 0.06109/0.1333, allocations: 55.3 MB / 416.1 MB, free: 4.422 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.494930960703641]