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.001361/0.001361, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001529/0.001529, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.569/1.569, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2303/0.2303, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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 1.794e-06/1.794e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.978e-05, allocations: 6.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00373/0.003759, allocations: 2.228 MB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.005124, allocations: 0.6428 MB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.005267, allocations: 4 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.005386, allocations: 43.52 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.005623, allocations: 75.28 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.005958, allocations: 95.84 kB / 445.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.006395, allocations: 351 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.006663, allocations: 115.8 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.00709, allocations: 215.5 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.00735, allocations: 119.7 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.007414, allocations: 32 kB / 446.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.007513, allocations: 36 kB / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.007582, allocations: 67.75 kB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.007731, allocations: 115.7 kB / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.008215, allocations: 386.8 kB / 447.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008219, allocations: 0 / 447.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00822, allocations: 0 / 447.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.00823, allocations: 0 / 447.2 MB, free: 0.8828 MB / 366.1 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.001036/0.009266, allocations: 0.5094 MB / 447.7 MB, free: 352 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.00931, allocations: 15.97 kB / 447.7 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.009634, allocations: 44.73 kB / 447.7 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.009823, allocations: 145.4 kB / 447.9 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.009861, allocations: 29.03 kB / 447.9 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.009913, allocations: 32.38 kB / 447.9 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2117/0.2216, allocations: 274 kB / 448.2 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.2216, allocations: 192 / 448.2 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.2217, allocations: 14.7 kB / 448.2 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.2217, allocations: 10.53 kB / 448.2 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.2222, allocations: 216.7 kB / 448.4 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.2239, allocations: 0.8326 MB / 449.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.224, allocations: 33.45 kB / 449.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.2241, allocations: 21.59 kB / 449.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2241, allocations: 3.938 kB / 449.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2241, allocations: 39.73 kB / 449.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.2241, allocations: 0 / 449.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002224/0.2243, allocations: 68.72 kB / 449.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2243, allocations: 52.06 kB / 449.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.2246, allocations: 270.5 kB / 449.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2247, allocations: 30.58 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2248, allocations: 245.5 kB / 450 MB, free: 18.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.2248, allocations: 13.53 kB / 450 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.2249, allocations: 56.59 kB / 450.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.2249, allocations: 329.6 kB / 450.4 MB, free: 18.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2251, allocations: 59.25 kB / 450.5 MB, free: 18.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.2252, allocations: 97.59 kB / 450.6 MB, free: 17.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.2255, allocations: 123.7 kB / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2255, allocations: 0.6875 kB / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004027/0.2259, allocations: 233.7 kB / 450.9 MB, free: 17.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2259, allocations: 10.77 kB / 450.9 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2259, allocations: 0 / 450.9 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2259, allocations: 2.219 kB / 450.9 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.2262, allocations: 55.11 kB / 451 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2262, allocations: 1.219 kB / 451 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2265, allocations: 32.25 kB / 451 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.2265, allocations: 5.562 kB / 451 MB, free: 17.76 MB / 366.1 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 9.856e-05/0.2266, allocations: 139.5 kB / 451.1 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.2266, allocations: 18.09 kB / 451.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.2267, allocations: 16.03 kB / 451.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2267, allocations: 1.25 kB / 451.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2267, allocations: 0 / 451.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2267, allocations: 2.188 kB / 451.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.2271, allocations: 429.3 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2271, allocations: 1.875 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.2272, allocations: 5.562 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2272, allocations: 0 / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2272, allocations: 1.75 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2272, allocations: 3.875 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2272, allocations: 7.625 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.2273, allocations: 93.25 kB / 451.7 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2273, allocations: 23.52 kB / 451.7 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.2274, allocations: 5.031 kB / 451.7 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2275, allocations: 2.75 kB / 451.7 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.2275, allocations: 6.359 kB / 451.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2275, allocations: 1.844 kB / 451.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.2276, allocations: 181.5 kB / 451.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2276, allocations: 0 / 451.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.2279, allocations: 77.58 kB / 452 MB, free: 16.99 MB / 366.1 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.0001096/0.2281, allocations: 92.28 kB / 452.1 MB, free: 16.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.2283, allocations: 104.4 kB / 452.2 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2283, allocations: 0 / 452.2 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.2283, allocations: 7.109 kB / 452.2 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2286, allocations: 23.19 kB / 452.2 MB, free: 16.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.2292, allocations: 366.2 kB / 452.6 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2294, allocations: 134 kB / 452.7 MB, free: 16.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.2295, allocations: 27.2 kB / 452.7 MB, free: 16.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.2295, allocations: 16.77 kB / 452.8 MB, free: 16.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2295, allocations: 0 / 452.8 MB, free: 16.5 MB / 366.1 MB Notification: Performance of Templates: time 0.005434/0.235, allocations: 1.574 MB / 454.3 MB, free: 16.31 MB / 366.1 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: 5.076400570571423]