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.001493/0.001493, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.001552/0.001552, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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.591/1.591, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.256/0.256, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 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.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.463e-06/1.463e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.565e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002503/0.002528, allocations: 2.165 MB / 349.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.003372, allocations: 0.632 MB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.003459, allocations: 4 kB / 349.7 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.713e-05/0.003537, allocations: 39.58 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.003703, allocations: 75.28 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.003928, allocations: 91.86 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004166, allocations: 358.9 kB / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.004364, allocations: 103.8 kB / 350.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.004591, allocations: 219.5 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.004743, allocations: 111.7 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.004787, allocations: 32 kB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.004826, allocations: 32 kB / 350.8 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.004872, allocations: 75.73 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.004964, allocations: 107.7 kB / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.005245, allocations: 390.8 kB / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005247, allocations: 0 / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.005248, allocations: 0 / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.005254, allocations: 0 / 351.3 MB, free: 5.398 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.0008146/0.006069, allocations: 0.5055 MB / 351.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.006104, allocations: 15.97 kB / 351.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.006193, allocations: 52.75 kB / 351.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.006319, allocations: 150.4 kB / 352 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.006345, allocations: 21.03 kB / 352.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.00638, allocations: 36.38 kB / 352.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.006795, allocations: 282.6 kB / 352.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.006808, allocations: 192 / 352.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.006839, allocations: 8.375 kB / 352.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.006849, allocations: 15.94 kB / 352.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.007197, allocations: 214.5 kB / 352.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.008586, allocations: 0.8506 MB / 353.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.587e-05/0.008652, allocations: 30.58 kB / 353.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.008701, allocations: 28.86 kB / 353.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.00871, allocations: 0 / 353.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.008723, allocations: 38.55 kB / 353.6 MB, free: 3.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.008724, allocations: 0 / 353.6 MB, free: 3.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001909/0.008915, allocations: 65.61 kB / 353.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.008937, allocations: 55.41 kB / 353.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.009171, allocations: 264.1 kB / 353.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.009182, allocations: 25.7 kB / 354 MB, free: 2.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.009267, allocations: 251.5 kB / 354.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.009278, allocations: 15.89 kB / 354.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.009351, allocations: 61.66 kB / 354.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.009425, allocations: 330.8 kB / 354.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.009534, allocations: 63.92 kB / 354.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.009654, allocations: 89.67 kB / 354.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.009813, allocations: 123 kB / 354.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009814, allocations: 0 / 354.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003109/0.01013, allocations: 233.5 kB / 355.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01014, allocations: 12.03 kB / 355.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01015, allocations: 0 / 355.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01017, allocations: 0 / 355.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.01044, allocations: 55.91 kB / 355.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.01045, allocations: 4 kB / 355.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.01065, allocations: 39.66 kB / 355.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01066, allocations: 8 kB / 355.2 MB, free: 1.312 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 8.034e-05/0.01074, allocations: 129.8 kB / 355.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.01078, allocations: 19.91 kB / 355.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.01081, allocations: 16.64 kB / 355.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01082, allocations: 4 kB / 355.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01082, allocations: 0 / 355.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01082, allocations: 3.938 kB / 355.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.01124, allocations: 427.1 kB / 355.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01124, allocations: 0 / 355.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.01127, allocations: 8 kB / 355.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01128, allocations: 0 / 355.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.01128, allocations: 0 / 355.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01128, allocations: 7.938 kB / 355.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01129, allocations: 4 kB / 355.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.01139, allocations: 93.95 kB / 355.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.01143, allocations: 27.83 kB / 355.9 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01146, allocations: 4 kB / 355.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.01156, allocations: 3.938 kB / 355.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.01157, allocations: 0 / 355.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.01158, allocations: 4 kB / 355.9 MB, free: 0.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.01172, allocations: 179.5 kB / 356.1 MB, free: 332 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 0 / 356.1 MB, free: 332 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01197, allocations: 75.72 kB / 356.2 MB, free: 256 kB / 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 7.52e-05/0.01204, allocations: 95.28 kB / 356.3 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.01225, allocations: 107.9 kB / 356.4 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01225, allocations: 0 / 356.4 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.01227, allocations: 11.94 kB / 356.4 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.01257, allocations: 20.72 kB / 356.4 MB, free: 4 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.01331, allocations: 377.7 kB / 356.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.01346, allocations: 133.8 kB / 356.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.562e-05/0.01356, allocations: 13.62 kB / 356.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.01361, allocations: 16.5 kB / 357 MB, free: 15.43 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01361, allocations: 4 kB / 357 MB, free: 15.42 MB / 298.7 MB Notification: Performance of Templates: time 0.005052/0.01866, allocations: 1.598 MB / 358.6 MB, free: 13.84 MB / 298.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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: 5.050239734002389]