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.001184/0.001184, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001291/0.001291, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.321/1.321, allocations: 230.5 MB / 258.1 MB, free: 8.027 MB / 206.1 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.2043/0.2043, allocations: 46.94 MB / 361.5 MB, free: 4.188 MB / 286.1 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 0.00216/0.00216, allocations: 75.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2729, allocations: 66.08 MB / 0.562 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003613/0.2765, allocations: 2.394 MB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2776, allocations: 0.6701 MB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.2776, allocations: 7.938 kB / 0.565 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.291e-05/0.2777, allocations: 39.58 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2779, allocations: 67.34 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2781, allocations: 95.8 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2785, allocations: 347.2 kB / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2787, allocations: 115.6 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.2789, allocations: 155.5 kB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2791, allocations: 151.4 kB / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.2792, allocations: 32 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.2793, allocations: 36 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.2793, allocations: 67.81 kB / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.2795, allocations: 159.3 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.2798, allocations: 392.8 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2798, allocations: 0 / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2798, allocations: 4 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2799, allocations: 0 / 0.5665 GB, free: 15.56 MB / 414.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.0008768/0.2807, allocations: 0.5055 MB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2808, allocations: 8.031 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.2811, allocations: 48.69 kB / 0.5671 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2812, allocations: 152.3 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.2812, allocations: 25.03 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.2813, allocations: 28.38 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.2817, allocations: 278.4 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2818, allocations: 0 / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.2818, allocations: 12 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.2818, allocations: 15.94 kB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.2822, allocations: 218.5 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2838, allocations: 0.986 MB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.2838, allocations: 34.56 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.2839, allocations: 20.92 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2839, allocations: 0 / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2839, allocations: 38.56 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2839, allocations: 0 / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000184/0.2841, allocations: 77.48 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2841, allocations: 55.39 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.2845, allocations: 324.1 kB / 0.5693 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2845, allocations: 25.7 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.2847, allocations: 227.5 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.2847, allocations: 15.94 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.2847, allocations: 53.66 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2849, allocations: 330.9 kB / 0.5699 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.285, allocations: 67.97 kB / 0.57 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2851, allocations: 89.69 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.2853, allocations: 125.6 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2853, allocations: 4 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003706/0.2857, allocations: 233.9 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2857, allocations: 4 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2857, allocations: 7.969 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2857, allocations: 4 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.286, allocations: 59.95 kB / 0.5705 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.286, allocations: 7.922 kB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2862, allocations: 47.64 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2862, allocations: 8 kB / 0.5705 GB, free: 11.28 MB / 414.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 0.000112/0.2864, allocations: 129.8 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.2864, allocations: 19.86 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.2864, allocations: 36.86 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2864, allocations: 0 / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2865, allocations: 0 / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2865, allocations: 0 / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.287, allocations: 490.4 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.287, allocations: 3.984 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.2871, allocations: 4 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2871, allocations: 0 / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2871, allocations: 8 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2871, allocations: 4 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2871, allocations: 0 / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2872, allocations: 93.84 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.2872, allocations: 35.77 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2873, allocations: 0 / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2874, allocations: 4.031 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.2874, allocations: 4 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.2874, allocations: 0 / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.2876, allocations: 223.1 kB / 0.5715 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2876, allocations: 0 / 0.5715 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2879, allocations: 63.89 kB / 0.5716 GB, free: 10.09 MB / 414.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 8.735e-05/0.288, allocations: 103.1 kB / 0.5717 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2882, allocations: 103.9 kB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2882, allocations: 0 / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.2882, allocations: 7.984 kB / 0.5718 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2885, allocations: 28.92 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.2891, allocations: 401.5 kB / 0.5722 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2894, allocations: 0.744 MB / 0.5729 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.2895, allocations: 15.44 kB / 0.573 GB, free: 8.621 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2895, allocations: 0 / 0.573 GB, free: 8.621 MB / 414.1 MB Notification: Performance of Templates: time 0.004414/0.2939, allocations: 2.729 MB / 0.5756 GB, free: 5.898 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/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: 6.5717065879143775]