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.002185/0.002185, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002665/0.002665, allocations: 216.5 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.469/1.469, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2325/0.2325, allocations: 44.26 MB / 330.3 MB, free: 9.402 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 73.72 kB / 468 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1373, allocations: 61.04 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001745/0.139, allocations: 0.5337 MB / 0.5172 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008316/0.1399, allocations: 384.6 kB / 0.5175 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.1399, allocations: 0 / 0.5175 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.1399, allocations: 3.938 kB / 0.5175 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.281e-05/0.14, allocations: 4 kB / 0.5175 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.1405, allocations: 143.5 kB / 0.5177 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.1406, allocations: 27.92 kB / 0.5177 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.1406, allocations: 11.94 kB / 0.5177 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.373e-05/0.1406, allocations: 11.98 kB / 0.5177 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.1407, allocations: 19.86 kB / 0.5177 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1407, allocations: 4 kB / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.141, allocations: 135.8 kB / 0.5179 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.141, allocations: 12 kB / 0.5179 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.141, allocations: 11.92 kB / 0.5179 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1413, allocations: 123.6 kB / 0.518 GB, free: 5.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1413, allocations: 0 / 0.518 GB, free: 5.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1413, allocations: 7.938 kB / 0.518 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1413, allocations: 0 / 0.518 GB, free: 5.277 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.0004431/0.1417, allocations: 294 kB / 0.5183 GB, free: 4.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1418, allocations: 8.031 kB / 0.5183 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1418, allocations: 4.891 kB / 0.5183 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1419, allocations: 118.4 kB / 0.5184 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1419, allocations: 12.36 kB / 0.5184 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.142, allocations: 8.375 kB / 0.5184 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1421, allocations: 58.23 kB / 0.5185 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1421, allocations: 7.891 kB / 0.5185 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1421, allocations: 8 kB / 0.5185 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1421, allocations: 0 / 0.5185 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.1422, allocations: 43.89 kB / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.1424, allocations: 117.3 kB / 0.5187 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1425, allocations: 82.55 kB / 0.5187 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.1426, allocations: 24.84 kB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.1428, allocations: 31.95 kB / 0.5188 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1429, allocations: 34.56 kB / 0.5188 GB, free: 4.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1429, allocations: 0 / 0.5188 GB, free: 4.332 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.1337/0.2766, allocations: 5.618 MB / 0.5243 GB, free: 14.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.2766, allocations: 55.34 kB / 0.5244 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.2767, allocations: 93.86 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.2767, allocations: 29.7 kB / 0.5245 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2768, allocations: 80.52 kB / 0.5246 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.011e-05/0.2769, allocations: 87.27 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.277, allocations: 61.61 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2771, allocations: 322.8 kB / 0.525 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.2775, allocations: 112 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.2778, allocations: 115.8 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.2793, allocations: 316.6 kB / 0.5255 GB, free: 13.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.2793, allocations: 8 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001214/0.2805, allocations: 365.6 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2805, allocations: 4 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2805, allocations: 0 / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2806, allocations: 0 / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.2809, allocations: 83.91 kB / 0.526 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.281, allocations: 0 / 0.526 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.2811, allocations: 27.97 kB / 0.526 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.2812, allocations: 11.98 kB / 0.526 GB, free: 12.88 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.0001348/0.2813, allocations: 125.7 kB / 0.5261 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2813, allocations: 7.953 kB / 0.5261 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.2828, allocations: 433.8 kB / 0.5266 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2828, allocations: 0 / 0.5266 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2828, allocations: 4 kB / 0.5266 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2828, allocations: 7.984 kB / 0.5266 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.285, allocations: 0.6944 MB / 0.5272 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.285, allocations: 0 / 0.5272 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.2853, allocations: 75.98 kB / 0.5273 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2853, allocations: 4 kB / 0.5273 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.2854, allocations: 19.92 kB / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2854, allocations: 3.984 kB / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2854, allocations: 0 / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2866, allocations: 424.8 kB / 0.5277 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2866, allocations: 11.89 kB / 0.5278 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.2866, allocations: 11.98 kB / 0.5278 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2868, allocations: 27.97 kB / 0.5278 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.2868, allocations: 11.98 kB / 0.5278 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.2869, allocations: 15.98 kB / 0.5278 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.2869, allocations: 75.28 kB / 0.5279 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2869, allocations: 0 / 0.5279 GB, free: 10.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002146/0.2891, allocations: 0.6324 MB / 0.5285 GB, free: 10.23 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.003521/0.2926, allocations: 294.5 kB / 0.5288 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009074/0.2935, allocations: 256.3 kB / 0.529 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2935, allocations: 0 / 0.529 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.2939, allocations: 131.9 kB / 0.5292 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2942, allocations: 12 kB / 0.5292 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2952, allocations: 339.2 kB / 0.5295 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.937e-05/0.2953, allocations: 84.3 kB / 0.5296 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002467/0.2955, allocations: 77.08 kB / 0.5297 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2957, allocations: 43.39 kB / 0.5297 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2957, allocations: 3.938 kB / 0.5297 GB, free: 8.945 MB / 414.1 MB Notification: Performance of Templates: time 0.3315/0.6272, allocations: 54.08 MB / 0.5825 GB, free: 3.465 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.213541094213724]