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.002823/0.002823, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.002974/0.002974, allocations: 169.2 kB / 23.53 MB, free: 0.8984 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 1.439/1.439, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 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.2041/0.2041, allocations: 32.37 MB / 270 MB, free: 14.75 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 2.194e-06/2.194e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/4.073e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002094/0.002135, allocations: 0.555 MB / 347.5 MB, free: 9.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007589/0.002894, allocations: 378.8 kB / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.002933, allocations: 3.938 kB / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.002959, allocations: 0 / 347.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.003011, allocations: 3.938 kB / 347.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.003575, allocations: 143.5 kB / 348 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.003634, allocations: 23.92 kB / 348 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.00368, allocations: 4 kB / 348 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.003728, allocations: 19.91 kB / 348 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.003792, allocations: 11.98 kB / 348.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.003809, allocations: 0 / 348.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.004095, allocations: 139.8 kB / 348.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.004113, allocations: 8 kB / 348.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.004139, allocations: 7.984 kB / 348.2 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.004409, allocations: 147.5 kB / 348.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.004412, allocations: 0 / 348.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004413, allocations: 4 kB / 348.4 MB, free: 8.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004417, allocations: 0 / 348.4 MB, free: 8.371 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.0004563/0.004874, allocations: 395.9 kB / 348.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004914, allocations: 8.031 kB / 348.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.00497, allocations: 8.891 kB / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.133e-05/0.005052, allocations: 112.6 kB / 348.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005067, allocations: 4.375 kB / 348.9 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.005092, allocations: 4.375 kB / 348.9 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.005224, allocations: 54.19 kB / 348.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.005239, allocations: 8.141 kB / 348.9 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.005251, allocations: 8.359 kB / 348.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.005258, allocations: 4.125 kB / 349 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.005341, allocations: 23.98 kB / 349 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.00552, allocations: 128.6 kB / 349.1 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.005785, allocations: 67 kB / 349.2 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.005843, allocations: 23.69 kB / 349.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.006133, allocations: 31.95 kB / 349.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.006151, allocations: 33.39 kB / 349.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.006153, allocations: 4 kB / 349.3 MB, free: 7.344 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.2057/0.2118, allocations: 6.41 MB / 355.7 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2119, allocations: 55.41 kB / 355.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.2119, allocations: 161.9 kB / 355.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.212, allocations: 29.7 kB / 355.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.212, allocations: 130.9 kB / 356 MB, free: 496 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.2121, allocations: 63.44 kB / 356.1 MB, free: 432 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2123, allocations: 99.25 kB / 356.2 MB, free: 324 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2124, allocations: 0.4923 MB / 356.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.2131, allocations: 295.8 kB / 357 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.2138, allocations: 298.9 kB / 357.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.216, allocations: 0.6595 MB / 357.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2161, allocations: 0 / 357.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002161/0.2182, allocations: 0.7276 MB / 358.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.2182, allocations: 11.22 kB / 358.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2182, allocations: 4 kB / 358.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2183, allocations: 0 / 358.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.219, allocations: 111.8 kB / 358.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.219, allocations: 0 / 358.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.2194, allocations: 23.97 kB / 358.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.2195, allocations: 31.94 kB / 358.8 MB, free: 13.66 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.0002106/0.2197, allocations: 164.6 kB / 359 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2198, allocations: 20.14 kB / 359 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.2222, allocations: 0.8446 MB / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2222, allocations: 4 kB / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2222, allocations: 0 / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2222, allocations: 0 / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.2266, allocations: 1.166 MB / 361 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2266, allocations: 0 / 361 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.2271, allocations: 99.8 kB / 361.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2271, allocations: 4 kB / 361.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.2272, allocations: 27.95 kB / 361.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.2272, allocations: 8.125 kB / 361.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2272, allocations: 7.984 kB / 361.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.2291, allocations: 0.689 MB / 361.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2291, allocations: 7.953 kB / 361.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.2292, allocations: 11.98 kB / 361.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2296, allocations: 31.92 kB / 361.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.2296, allocations: 11.97 kB / 361.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.2297, allocations: 27.95 kB / 362 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.455e-05/0.2298, allocations: 127.2 kB / 362.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2298, allocations: 0 / 362.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001899/0.2317, allocations: 0.648 MB / 362.7 MB, free: 9.637 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.003166/0.2348, allocations: 330.5 kB / 363 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.2363, allocations: 0.554 MB / 363.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2363, allocations: 0 / 363.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.2369, allocations: 243.8 kB / 363.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2372, allocations: 59.31 kB / 363.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.2397, allocations: 0.5742 MB / 364.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.2398, allocations: 83.56 kB / 364.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.2403, allocations: 121.2 kB / 364.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.2406, allocations: 92.34 kB / 364.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2406, allocations: 4 kB / 364.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of Templates: time 0.09919/0.3398, allocations: 59.59 MB / 424.4 MB, free: 11.72 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.141078324057162]