Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.0008873/0.0008873, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004188/0.004188, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8745/0.8745, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.176e-05, allocations: 3.266 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.1989/0.1989, allocations: 2.216 MB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000815/0.1998, allocations: 0.6522 MB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.1998, allocations: 5.812 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.885e-05/0.1999, allocations: 39.67 kB / 446.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.2, allocations: 78.75 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2003, allocations: 85.45 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.2005, allocations: 364.3 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2007, allocations: 105.9 kB / 447 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2009, allocations: 218 kB / 447.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2011, allocations: 110.7 kB / 447.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.2011, allocations: 32.22 kB / 447.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.2011, allocations: 38.59 kB / 447.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.2012, allocations: 76.2 kB / 447.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.2012, allocations: 117 kB / 447.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.2015, allocations: 386 kB / 447.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.2015, allocations: 0 / 447.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2015, allocations: 3.469 kB / 447.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2015, allocations: 3.938 kB / 447.9 MB, free: 42.66 MB / 410.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.0006665/0.2022, allocations: 0.5053 MB / 448.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2022, allocations: 8.812 kB / 448.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.2024, allocations: 50.23 kB / 448.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2025, allocations: 152.1 kB / 448.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2025, allocations: 20.81 kB / 448.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.2026, allocations: 32.97 kB / 448.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2029, allocations: 277.6 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2029, allocations: 192 / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.2029, allocations: 11.19 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2029, allocations: 10.25 kB / 449 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.2031, allocations: 217.7 kB / 449.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.2041, allocations: 0.8407 MB / 450 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.2042, allocations: 27.61 kB / 450.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.2042, allocations: 31.3 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.2042, allocations: 4 kB / 450.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2042, allocations: 30.56 kB / 450.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2042, allocations: 0 / 450.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.2044, allocations: 71.67 kB / 450.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.2044, allocations: 51.41 kB / 450.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2046, allocations: 264.6 kB / 450.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.2046, allocations: 29.64 kB / 450.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2047, allocations: 253.3 kB / 450.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.214e-06/0.2047, allocations: 6.797 kB / 450.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.2047, allocations: 57.56 kB / 450.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.2048, allocations: 325 kB / 451.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.2049, allocations: 71.58 kB / 451.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/0.2049, allocations: 91.05 kB / 451.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2051, allocations: 123.1 kB / 451.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2051, allocations: 0 / 451.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002172/0.2053, allocations: 227.9 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2053, allocations: 7.094 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2053, allocations: 0 / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2053, allocations: 6.938 kB / 451.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.2055, allocations: 61.39 kB / 451.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2055, allocations: 2.906 kB / 451.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.832e-05/0.2056, allocations: 40.91 kB / 451.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2056, allocations: 5.688 kB / 451.8 MB, free: 40.07 MB / 410.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.812e-05/0.2057, allocations: 133.1 kB / 451.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.2057, allocations: 17.81 kB / 451.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.2057, allocations: 17.36 kB / 452 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2057, allocations: 0 / 452 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2057, allocations: 0 / 452 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2057, allocations: 7.938 kB / 452 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.206, allocations: 430.9 kB / 452.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.206, allocations: 0 / 452.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.206, allocations: 2.938 kB / 452.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.206, allocations: 2.875 kB / 452.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.206, allocations: 7.234 kB / 452.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.206, allocations: 3.938 kB / 452.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.206, allocations: 0 / 452.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.005e-05/0.2061, allocations: 90.84 kB / 452.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2061, allocations: 24.31 kB / 452.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2061, allocations: 6.172 kB / 452.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.2062, allocations: 4.875 kB / 452.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.2062, allocations: 10.88 kB / 452.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.2062, allocations: 0 / 452.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.743e-05/0.2063, allocations: 182.4 kB / 452.7 MB, free: 39.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2063, allocations: 0 / 452.7 MB, free: 39.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00017/0.2065, allocations: 71.09 kB / 452.8 MB, free: 39.3 MB / 410.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.562e-05/0.2066, allocations: 93.62 kB / 452.9 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.2067, allocations: 103.9 kB / 453 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2067, allocations: 0 / 453 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.2067, allocations: 9.781 kB / 453 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.207, allocations: 25.42 kB / 453 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.2074, allocations: 397.1 kB / 453.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.2075, allocations: 129.3 kB / 453.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.2075, allocations: 17.34 kB / 453.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2075, allocations: 4 kB / 453.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of Templates: time 0.002618/0.2102, allocations: 2.634 MB / 456.2 MB, free: 38.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.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: 4.648209312930703]