Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009715/0.0009715, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001009/0.001009, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9997/0.9997, allocations: 177.1 MB / 205 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3031/0.3031, allocations: 32.8 MB / 294.3 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 376 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.039e-05, allocations: 5.266 kB / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001285/0.001316, allocations: 0.5438 MB / 376.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.001919, allocations: 386.8 kB / 376.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.001949, allocations: 0 / 376.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.001974, allocations: 7.938 kB / 376.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.001998, allocations: 0 / 376.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.002526, allocations: 139.4 kB / 377.1 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.002585, allocations: 31.91 kB / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.002627, allocations: 0 / 377.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.002664, allocations: 23.97 kB / 377.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.002714, allocations: 15.98 kB / 377.1 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.002727, allocations: 3.938 kB / 377.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.002935, allocations: 135.8 kB / 377.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.002951, allocations: 8 kB / 377.3 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.002981, allocations: 19.91 kB / 377.3 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.003194, allocations: 147.6 kB / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003197, allocations: 0 / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.003199, allocations: 0 / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.003205, allocations: 0 / 377.4 MB, free: 3.262 MB / 346.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.0003933/0.003598, allocations: 396.3 kB / 377.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.003639, allocations: 8.031 kB / 377.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.00369, allocations: 12.92 kB / 377.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.757e-05/0.003778, allocations: 112.6 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.003793, allocations: 16.31 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.003829, allocations: 8.328 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.003946, allocations: 58.23 kB / 378 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.003958, allocations: 192 / 378 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.00397, allocations: 4.375 kB / 378 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.00398, allocations: 4.125 kB / 378 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.004047, allocations: 43.94 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.004204, allocations: 132.5 kB / 378.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.004312, allocations: 82.97 kB / 378.3 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.004349, allocations: 27.67 kB / 378.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.004554, allocations: 35.97 kB / 378.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.00458, allocations: 37.39 kB / 378.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.004581, allocations: 0 / 378.4 MB, free: 2.176 MB / 346.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.0688/0.07338, allocations: 5.404 MB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.07343, allocations: 59.41 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.07354, allocations: 157.9 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.07357, allocations: 29.7 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.07362, allocations: 127.2 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.07372, allocations: 75.34 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.07384, allocations: 63.33 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.07399, allocations: 0.4923 MB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.07409, allocations: 59.95 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.07418, allocations: 63.97 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.0747, allocations: 217.8 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.07471, allocations: 8.062 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005783/0.07529, allocations: 257.4 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.07531, allocations: 8 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.07532, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.07534, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.07559, allocations: 83.84 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.07559, allocations: 0 / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.07569, allocations: 31.97 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.07571, allocations: 15.98 kB / 385.5 MB, free: 10.94 MB / 362.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.0001009/0.07581, allocations: 168.5 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.07585, allocations: 19.94 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.07646, allocations: 316.8 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.07647, allocations: 4 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.07647, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.07648, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.07751, allocations: 0.6764 MB / 386.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.07752, allocations: 4.062 kB / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.07766, allocations: 79.86 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.07767, allocations: 3.938 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.07769, allocations: 15.98 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.07769, allocations: 3.984 kB / 386.8 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.07769, allocations: 7.938 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.07814, allocations: 386.2 kB / 387.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.07815, allocations: 7.953 kB / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.07817, allocations: 12 kB / 387.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.07826, allocations: 27.91 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.07829, allocations: 19.91 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.0783, allocations: 15.98 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.07833, allocations: 119.2 kB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07833, allocations: 0 / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001386/0.07972, allocations: 0.6324 MB / 388 MB, free: 8.352 MB / 362.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.002309/0.08203, allocations: 322.7 kB / 388.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.0823, allocations: 163.5 kB / 388.5 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.0823, allocations: 4 kB / 388.5 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.08239, allocations: 102.3 kB / 388.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.08258, allocations: 27.98 kB / 388.6 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.08308, allocations: 302.2 kB / 388.9 MB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.08312, allocations: 59.86 kB / 389 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.08325, allocations: 73.14 kB / 389.1 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.08335, allocations: 52.45 kB / 389.1 MB, free: 7.188 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.08335, allocations: 4 kB / 389.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of Templates: time 0.1901/0.2734, allocations: 55.31 MB / 444.4 MB, free: 106.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.9535961425863206]