Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009253/0.0009253, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005265/0.005265, allocations: 157.9 kB / 24.7 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8951/0.8951, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.282e-05/4.533e-05, allocations: 2.281 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.2191/0.2192, allocations: 2.221 MB / 445.6 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.2201, allocations: 0.6515 MB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.2202, allocations: 4.688 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.104e-05/0.2203, allocations: 38.75 kB / 446.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2204, allocations: 69.39 kB / 446.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.2207, allocations: 107 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.221, allocations: 352.6 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.2212, allocations: 107.8 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.2215, allocations: 215.7 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2216, allocations: 102.6 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.2217, allocations: 35.09 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.2217, allocations: 39.8 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.2218, allocations: 76.27 kB / 447.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.2218, allocations: 110.8 kB / 447.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.2221, allocations: 398.9 kB / 447.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2221, allocations: 0 / 447.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2221, allocations: 3.344 kB / 447.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.2221, allocations: 0 / 447.9 MB, free: 42.47 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.0006527/0.2228, allocations: 0.5033 MB / 448.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2228, allocations: 8.719 kB / 448.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.223, allocations: 49.45 kB / 448.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2231, allocations: 145.1 kB / 448.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.2231, allocations: 24.72 kB / 448.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.2232, allocations: 28.94 kB / 448.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.2235, allocations: 282.2 kB / 448.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2235, allocations: 192 / 448.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.2235, allocations: 15.34 kB / 449 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2235, allocations: 10.12 kB / 449 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.2237, allocations: 217.4 kB / 449.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.2247, allocations: 0.8445 MB / 450 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.2248, allocations: 31.02 kB / 450.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.2248, allocations: 23.98 kB / 450.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2248, allocations: 2.906 kB / 450.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.2249, allocations: 30.56 kB / 450.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.2249, allocations: 2.844 kB / 450.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.225, allocations: 76.83 kB / 450.2 MB, free: 41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.2251, allocations: 51.41 kB / 450.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2252, allocations: 269.1 kB / 450.5 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.2252, allocations: 29.83 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.2253, allocations: 250.2 kB / 450.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.447e-06/0.2253, allocations: 14.59 kB / 450.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.2254, allocations: 50.09 kB / 450.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.2254, allocations: 327.1 kB / 451.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.2255, allocations: 61.66 kB / 451.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.2256, allocations: 91.72 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2258, allocations: 123.4 kB / 451.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2258, allocations: 0.8438 kB / 451.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002426/0.226, allocations: 224.4 kB / 451.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.226, allocations: 8.984 kB / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.226, allocations: 2.938 kB / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.226, allocations: 0 / 451.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.2262, allocations: 57.78 kB / 451.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2262, allocations: 2.688 kB / 451.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2263, allocations: 35.95 kB / 451.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2263, allocations: 9.172 kB / 451.8 MB, free: 39.89 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 8.07e-05/0.2264, allocations: 137.8 kB / 451.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.2264, allocations: 17.5 kB / 451.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.2265, allocations: 17.47 kB / 451.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2265, allocations: 0 / 451.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2265, allocations: 0 / 451.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2265, allocations: 3.938 kB / 451.9 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.2268, allocations: 435.3 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2268, allocations: 2.812 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.2268, allocations: 5.344 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2268, allocations: 2.906 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.2268, allocations: 0 / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.2268, allocations: 10.58 kB / 452.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2268, allocations: 0 / 452.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.2269, allocations: 96.19 kB / 452.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.2269, allocations: 22.2 kB / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.227, allocations: 2.906 kB / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.227, allocations: 3.938 kB / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.227, allocations: 2.812 kB / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.227, allocations: 0 / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.2271, allocations: 181.3 kB / 452.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2271, allocations: 0 / 452.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.2273, allocations: 77.53 kB / 452.8 MB, free: 39.12 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 8.806e-05/0.2274, allocations: 91.28 kB / 452.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.2276, allocations: 104.4 kB / 452.9 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2276, allocations: 0 / 452.9 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.2276, allocations: 16.89 kB / 453 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2279, allocations: 16.62 kB / 453 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.2283, allocations: 391.5 kB / 453.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.868e-05/0.2284, allocations: 133.4 kB / 453.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.2284, allocations: 24.61 kB / 453.5 MB, free: 38.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2284, allocations: 0 / 453.5 MB, free: 38.6 MB / 410.7 MB Notification: Performance of Templates: time 0.003016/0.2314, allocations: 2.642 MB / 456.2 MB, free: 38.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.899448531679809]