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.001061/0.001061, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002584, allocations: 452 kB / 10.43 MB, free: 264 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.0007758/0.0007758, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001811, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9292/0.9292, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1732/1.102, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1329/0.1329, allocations: 32.36 MB / 253.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02432/0.1572, allocations: 12.3 MB / 266.1 MB, free: 3.875 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.573e-06/1.573e-06, allocations: 0 / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.463e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002272/0.002287, allocations: 2.364 MB / 269.7 MB, free: 192 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.003241, allocations: 0.6785 MB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.003313, allocations: 4 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.003376, allocations: 39.58 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.003487, allocations: 75.27 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.003638, allocations: 95.8 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.003862, allocations: 355 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.004027, allocations: 102.5 kB / 271.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.00431, allocations: 223.6 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.004454, allocations: 115.7 kB / 271.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.004495, allocations: 36 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.004528, allocations: 32 kB / 271.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.004565, allocations: 51.81 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.004627, allocations: 87.88 kB / 271.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.004818, allocations: 215.3 kB / 271.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.004827, allocations: 0 / 271.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004828, allocations: 0 / 271.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.004835, allocations: 0 / 271.8 MB, free: 14.1 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0005676/0.005403, allocations: 0.5545 MB / 272.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.005432, allocations: 12.03 kB / 272.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.005489, allocations: 48.88 kB / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.9e-05/0.005588, allocations: 149.3 kB / 272.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.005609, allocations: 29.03 kB / 272.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.005636, allocations: 32.31 kB / 272.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.00584, allocations: 207.3 kB / 272.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005848, allocations: 4.125 kB / 272.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.005863, allocations: 12.38 kB / 272.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.00587, allocations: 15.94 kB / 272.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.005961, allocations: 80.55 kB / 273 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.006799, allocations: 0.6677 MB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.006852, allocations: 26.62 kB / 273.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.006873, allocations: 12.86 kB / 273.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.006881, allocations: 0 / 273.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.006904, allocations: 38.56 kB / 273.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006905, allocations: 0 / 273.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001158/0.007021, allocations: 49.61 kB / 273.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.007048, allocations: 51.41 kB / 273.8 MB, free: 12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.0072, allocations: 238.2 kB / 274 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.00721, allocations: 29.69 kB / 274.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.007316, allocations: 243.3 kB / 274.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.007324, allocations: 12.08 kB / 274.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.007386, allocations: 57.62 kB / 274.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.007471, allocations: 330.7 kB / 274.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.007506, allocations: 23.98 kB / 274.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.007717, allocations: 49.69 kB / 274.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/0.007816, allocations: 98.06 kB / 274.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007818, allocations: 0 / 274.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001188/0.007937, allocations: 125.6 kB / 275 MB, free: 10.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.007948, allocations: 4 kB / 275 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007953, allocations: 4.031 kB / 275 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.007964, allocations: 7.984 kB / 275 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.008146, allocations: 67.89 kB / 275.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.00815, allocations: 4 kB / 275.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.008244, allocations: 31.77 kB / 275.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.008254, allocations: 8 kB / 275.1 MB, free: 10.64 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 6.673e-05/0.008321, allocations: 121.7 kB / 275.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.008339, allocations: 7.984 kB / 275.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.00836, allocations: 12.66 kB / 275.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008361, allocations: 4 kB / 275.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.008363, allocations: 3.938 kB / 275.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008365, allocations: 4 kB / 275.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.008617, allocations: 343.6 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008619, allocations: 0 / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.00863, allocations: 4 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.008648, allocations: 11.91 kB / 275.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00865, allocations: 0 / 275.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.008654, allocations: 0 / 275.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008654, allocations: 0 / 275.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.008657, allocations: 12 kB / 275.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.597e-05/0.008713, allocations: 73.91 kB / 275.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.008728, allocations: 4 kB / 275.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.008765, allocations: 4 kB / 275.7 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.008775, allocations: 3.938 kB / 275.7 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/0.008777, allocations: 0 / 275.7 MB, free: 9.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.932e-05/0.008826, allocations: 70.22 kB / 275.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008826, allocations: 0 / 275.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.008962, allocations: 71.78 kB / 275.8 MB, free: 9.836 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 5.676e-05/0.009019, allocations: 80.45 kB / 275.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.009118, allocations: 72.69 kB / 276 MB, free: 9.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.00913, allocations: 4 kB / 276 MB, free: 9.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.00915, allocations: 12.84 kB / 276 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.009355, allocations: 203.6 kB / 276.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.01007, allocations: 405.6 kB / 276.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.01011, allocations: 79.91 kB / 276.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.577e-05/0.01017, allocations: 21.62 kB / 276.7 MB, free: 8.871 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.01024, allocations: 75.3 kB / 276.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01024, allocations: 0 / 276.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of Templates: time 0.003143/0.01338, allocations: 1.735 MB / 278.5 MB, free: 7.062 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.685748904943466]