Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001568/0.001568, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.00156/0.00156, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3895/0.3895, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.296e-05, allocations: 6.25 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003924/0.003957, allocations: 2.235 MB / 377.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.00524, allocations: 0.6427 MB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.005329, allocations: 4 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.005418, allocations: 39.58 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.00561, allocations: 67.34 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005887, allocations: 107.7 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.006265, allocations: 358.9 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.006527, allocations: 107.8 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.006883, allocations: 215.6 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.00708, allocations: 107.7 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/0.007139, allocations: 36 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.007226, allocations: 36 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.007296, allocations: 71.75 kB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.007437, allocations: 115.7 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.007929, allocations: 390.8 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.007932, allocations: 0 / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007933, allocations: 3.938 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.007939, allocations: 0 / 379.8 MB, free: 488 kB / 346.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.001131/0.00907, allocations: 0.5054 MB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.009112, allocations: 8.031 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.009493, allocations: 80.67 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.009676, allocations: 145.3 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.009709, allocations: 25.03 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.009757, allocations: 28.38 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.01029, allocations: 282.6 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.0103, allocations: 4.188 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.01033, allocations: 12.38 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.01035, allocations: 11.94 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.01079, allocations: 210.5 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.01252, allocations: 0.8506 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.248e-05/0.0126, allocations: 34.56 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.01266, allocations: 20.92 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.01267, allocations: 0 / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.0127, allocations: 38.56 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.0127, allocations: 0 / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002182/0.01292, allocations: 65.55 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.01296, allocations: 51.41 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.01333, allocations: 287 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.01336, allocations: 25.7 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.01355, allocations: 243.4 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.01357, allocations: 19.88 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.01367, allocations: 49.66 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.01385, allocations: 326.8 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.01399, allocations: 63.97 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01415, allocations: 94.19 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.01439, allocations: 125.6 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01439, allocations: 4 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004413/0.01483, allocations: 234.1 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01484, allocations: 4 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01485, allocations: 4 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01487, allocations: 0 / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.01517, allocations: 55.89 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.01518, allocations: 4 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.01543, allocations: 31.72 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01545, allocations: 8 kB / 383.6 MB, free: 12.39 MB / 362.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 0.000135/0.01558, allocations: 137.8 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.01563, allocations: 19.89 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01567, allocations: 16.66 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01567, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01568, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01568, allocations: 3.938 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.0163, allocations: 427.1 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01631, allocations: 0 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.01634, allocations: 4 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01634, allocations: 64 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.01635, allocations: 8 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.01636, allocations: 11.92 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.01636, allocations: 3.938 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.0165, allocations: 85.91 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.01655, allocations: 23.89 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.01658, allocations: 4 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.01669, allocations: 7.875 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.0167, allocations: 3.984 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.01671, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.01694, allocations: 188.6 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01694, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.01725, allocations: 71.78 kB / 384.6 MB, free: 11.31 MB / 362.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 0.0001103/0.01736, allocations: 91.25 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.01761, allocations: 103.8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01762, allocations: 0 / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.01764, allocations: 8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01794, allocations: 24.89 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.0187, allocations: 378.4 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.01884, allocations: 133.8 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.01895, allocations: 17.64 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.019, allocations: 12.5 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.019, allocations: 0 / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.005106/0.02411, allocations: 1.601 MB / 387 MB, free: 8.918 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.889704836998135]