Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001445/0.001445, allocations: 95.22 kB / 20.43 MB, free: 4.141 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.001579/0.001579, allocations: 169 kB / 23.8 MB, free: 0.7734 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.8324/0.8324, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1259/0.1259, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.337e-05, allocations: 5.406 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001733/0.001767, allocations: 0.5509 MB / 348.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.002484, allocations: 390.7 kB / 348.6 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.002518, allocations: 8 kB / 348.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.00254, allocations: 0 / 348.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.002578, allocations: 3.938 kB / 348.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.003093, allocations: 139.4 kB / 348.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.439e-05/0.003157, allocations: 23.92 kB / 348.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.003196, allocations: 0 / 348.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.003243, allocations: 19.97 kB / 348.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.003299, allocations: 7.984 kB / 348.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.003315, allocations: 11.94 kB / 348.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.003557, allocations: 135.8 kB / 348.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.003574, allocations: 4 kB / 348.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.003598, allocations: 11.92 kB / 349 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.003828, allocations: 147.6 kB / 349.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.003831, allocations: 0 / 349.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003833, allocations: 0 / 349.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.003838, allocations: 4 kB / 349.1 MB, free: 8.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003884/0.004227, allocations: 388.3 kB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.004274, allocations: 12.03 kB / 349.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.004332, allocations: 16.88 kB / 349.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/0.004416, allocations: 112.6 kB / 349.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.004433, allocations: 12.25 kB / 349.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.00446, allocations: 4.375 kB / 349.6 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.004574, allocations: 46.25 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.004589, allocations: 8.125 kB / 349.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.004602, allocations: 4.375 kB / 349.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.004611, allocations: 4.125 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.004666, allocations: 19.98 kB / 349.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.004812, allocations: 124.6 kB / 349.8 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.005044, allocations: 59.03 kB / 349.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.00509, allocations: 23.67 kB / 349.9 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.005337, allocations: 31.97 kB / 349.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.005359, allocations: 33.39 kB / 350 MB, free: 7.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.795e-06/0.005362, allocations: 0 / 350 MB, free: 7.016 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.06014/0.06551, allocations: 6.117 MB / 356.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.06555, allocations: 51.41 kB / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.06561, allocations: 165.9 kB / 356.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.06564, allocations: 25.7 kB / 356.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.06567, allocations: 130.9 kB / 356.5 MB, free: 460 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.06573, allocations: 71.38 kB / 356.5 MB, free: 388 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.06584, allocations: 99.23 kB / 356.6 MB, free: 280 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.06596, allocations: 0.4884 MB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.06623, allocations: 219.8 kB / 357.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.06647, allocations: 219 kB / 357.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.06744, allocations: 0.5034 MB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.06744, allocations: 0 / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008961/0.06834, allocations: 0.5715 MB / 358.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.06836, allocations: 8 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.06837, allocations: 4 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.06838, allocations: 0 / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.06872, allocations: 107.8 kB / 358.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.06873, allocations: 4 kB / 358.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.0689, allocations: 19.97 kB / 358.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.06895, allocations: 35.94 kB / 358.8 MB, free: 14.09 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 (19): * Single equations (assignments): 19 * 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.0001282/0.06907, allocations: 156.6 kB / 358.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.06914, allocations: 23.89 kB / 359 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.07017, allocations: 0.6884 MB / 359.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.07018, allocations: 4 kB / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.07018, allocations: 0 / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.07019, allocations: 0 / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.07218, allocations: 1.045 MB / 360.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.07219, allocations: 0 / 360.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.07245, allocations: 100.1 kB / 360.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.07246, allocations: 4 kB / 360.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.07249, allocations: 27.95 kB / 360.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.0725, allocations: 11.92 kB / 360.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.0725, allocations: 0 / 360.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.07335, allocations: 0.5955 MB / 361.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.07336, allocations: 11.94 kB / 361.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.0734, allocations: 8 kB / 361.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.07356, allocations: 23.91 kB / 361.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.07359, allocations: 19.92 kB / 361.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.07362, allocations: 27.95 kB / 361.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.07366, allocations: 131.1 kB / 361.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07366, allocations: 0 / 361.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001572/0.07523, allocations: 0.648 MB / 362.3 MB, free: 10.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002348/0.07758, allocations: 322.5 kB / 362.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.07821, allocations: 431.3 kB / 363 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.07821, allocations: 8 kB / 363.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.07843, allocations: 183.5 kB / 363.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.07871, allocations: 55.84 kB / 363.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.07989, allocations: 0.5121 MB / 363.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.08007, allocations: 67.58 kB / 363.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.08034, allocations: 125 kB / 364 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.08055, allocations: 92.34 kB / 364.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.08055, allocations: 0 / 364.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of Templates: time 0.06724/0.1478, allocations: 64.17 MB / 428.2 MB, free: 8.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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: 7.6263995808549225]