Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.001167/0.001167, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002312, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0008103/0.0008103, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009605/0.001771, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.049/1.049, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2224/1.271, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.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.1366/0.1366, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02171/0.1583, allocations: 12.3 MB / 265.9 MB, free: 7.836 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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.627e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002619/0.002645, allocations: 2.36 MB / 269.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003743, allocations: 0.6746 MB / 270.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.003834, allocations: 4 kB / 270.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.0039, allocations: 43.58 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.004037, allocations: 71.28 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.004213, allocations: 95.78 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.004492, allocations: 351.1 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.004689, allocations: 114.5 kB / 270.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.004978, allocations: 227.5 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.005131, allocations: 111.7 kB / 271.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.005172, allocations: 36 kB / 271.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.005202, allocations: 32 kB / 271.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.005238, allocations: 51.81 kB / 271.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.005311, allocations: 91.88 kB / 271.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.005519, allocations: 203.3 kB / 271.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.005536, allocations: 4 kB / 271.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.005538, allocations: 3.984 kB / 271.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.005554, allocations: 0 / 271.6 MB, free: 2.078 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006534/0.006207, allocations: 0.5506 MB / 272.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.006239, allocations: 12.03 kB / 272.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.006298, allocations: 52.83 kB / 272.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.00643, allocations: 149.3 kB / 272.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.006457, allocations: 25.03 kB / 272.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.006485, allocations: 28.38 kB / 272.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.006726, allocations: 203.3 kB / 272.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006738, allocations: 192 / 272.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.006758, allocations: 16.38 kB / 272.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.006769, allocations: 11.94 kB / 272.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.00687, allocations: 88.48 kB / 272.8 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.007851, allocations: 0.6794 MB / 273.4 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.007904, allocations: 18.58 kB / 273.5 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.007931, allocations: 12.92 kB / 273.5 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.007942, allocations: 0 / 273.5 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.007968, allocations: 42.55 kB / 273.5 MB, free: 108 kB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.007969, allocations: 0 / 273.5 MB, free: 108 kB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001227/0.008092, allocations: 45.62 kB / 273.6 MB, free: 56 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.008136, allocations: 51.41 kB / 273.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.00829, allocations: 238.2 kB / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.008302, allocations: 29.7 kB / 273.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.008401, allocations: 239.3 kB / 274.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.008413, allocations: 11.95 kB / 274.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.008474, allocations: 65.73 kB / 274.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.008561, allocations: 326.8 kB / 274.5 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.008592, allocations: 19.98 kB / 274.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.008644, allocations: 57.67 kB / 274.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.008719, allocations: 70.09 kB / 274.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008721, allocations: 4 kB / 274.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001358/0.008857, allocations: 125.6 kB / 274.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.008877, allocations: 4 kB / 274.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.008883, allocations: 0 / 274.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.008894, allocations: 8.031 kB / 274.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.009097, allocations: 63.89 kB / 274.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.009102, allocations: 4 kB / 274.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.0092, allocations: 31.78 kB / 274.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.009211, allocations: 8 kB / 274.9 MB, free: 14.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 7.375e-05/0.009285, allocations: 121.7 kB / 275 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.009305, allocations: 8 kB / 275 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.009329, allocations: 16.64 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009331, allocations: 0 / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009332, allocations: 4 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.009335, allocations: 0 / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.009632, allocations: 347.4 kB / 275.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.009635, allocations: 4 kB / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.009648, allocations: 0 / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.00967, allocations: 19.89 kB / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009672, allocations: 0 / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-06/0.009676, allocations: 0 / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009678, allocations: 0 / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.009683, allocations: 11.86 kB / 275.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.594e-05/0.009749, allocations: 78.03 kB / 275.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.009765, allocations: 0 / 275.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.009817, allocations: 11.98 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.00983, allocations: 3.938 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.009833, allocations: 0 / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.468e-05/0.009887, allocations: 62.23 kB / 275.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009887, allocations: 0 / 275.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.01004, allocations: 75.78 kB / 275.6 MB, free: 13.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.439e-05/0.01013, allocations: 72.42 kB / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01025, allocations: 76.72 kB / 275.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.01026, allocations: 4 kB / 275.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.01027, allocations: 8.859 kB / 275.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.01043, allocations: 32.72 kB / 275.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.01124, allocations: 397.7 kB / 276.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.01128, allocations: 83.91 kB / 276.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.01135, allocations: 17.64 kB / 276.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.01142, allocations: 67.36 kB / 276.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01142, allocations: 0 / 276.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of Templates: time 0.003522/0.01494, allocations: 1.732 MB / 278.1 MB, free: 11.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.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: 2.867915527895093]