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.001701/0.001701, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002062/0.002062, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 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.2143/0.2143, allocations: 44.91 MB / 359.6 MB, free: 6.375 MB / 286.1 MB " [Timeout remaining time 180] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 66.25 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3059, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003827/0.3097, allocations: 2.396 MB / 0.5606 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.311, allocations: 0.6779 MB / 0.5613 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.3111, allocations: 4 kB / 0.5613 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3112, allocations: 35.59 kB / 0.5613 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3114, allocations: 75.27 kB / 0.5614 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.3116, allocations: 87.88 kB / 0.5614 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.312, allocations: 347.2 kB / 0.5618 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3123, allocations: 119.6 kB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.3125, allocations: 155.5 kB / 0.562 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.3128, allocations: 151.4 kB / 0.5622 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.3128, allocations: 35.98 kB / 0.5622 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.3129, allocations: 36 kB / 0.5623 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.313, allocations: 67.81 kB / 0.5623 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.3131, allocations: 155.3 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.3136, allocations: 380.9 kB / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3136, allocations: 4 kB / 0.5628 GB, free: 3.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3136, allocations: 0 / 0.5628 GB, free: 3.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3136, allocations: 4 kB / 0.5628 GB, free: 3.016 MB / 398.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.0009047/0.3145, allocations: 0.5055 MB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3145, allocations: 12.03 kB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.3148, allocations: 48.69 kB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.315, allocations: 150 kB / 0.5635 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.315, allocations: 25.03 kB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.3151, allocations: 28.38 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.3156, allocations: 286.3 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3156, allocations: 0 / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.3156, allocations: 16 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3156, allocations: 8 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.316, allocations: 214.5 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.3178, allocations: 0.99 MB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.3179, allocations: 34.52 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.3179, allocations: 24.91 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3179, allocations: 0 / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.318, allocations: 34.56 kB / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.318, allocations: 4 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002148/0.3182, allocations: 69.55 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3182, allocations: 55.41 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.3186, allocations: 328 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3186, allocations: 25.7 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.3188, allocations: 235.5 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3188, allocations: 15.94 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.3189, allocations: 53.66 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3191, allocations: 334.9 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3192, allocations: 59.98 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3194, allocations: 89.67 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.3196, allocations: 122.2 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3196, allocations: 0 / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003903/0.32, allocations: 233.5 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.32, allocations: 8.031 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.32, allocations: 7.922 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.32, allocations: 4 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.3203, allocations: 55.91 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3203, allocations: 0 / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3205, allocations: 43.66 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3205, allocations: 4 kB / 0.5668 GB, free: 14.74 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.0001598/0.3207, allocations: 137.8 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.3208, allocations: 23.86 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.3208, allocations: 28.92 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3208, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3208, allocations: 3.938 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3208, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.3215, allocations: 490.4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3215, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.3215, allocations: 7.938 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3215, allocations: 4.062 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.3215, allocations: 0 / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3215, allocations: 3.984 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3215, allocations: 4 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.3216, allocations: 97.78 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.3217, allocations: 27.84 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.3217, allocations: 4.031 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3218, allocations: 7.984 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.3219, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3219, allocations: 4 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.3221, allocations: 219.1 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3224, allocations: 63.89 kB / 0.5679 GB, free: 13.54 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 0.0001109/0.3225, allocations: 103.2 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.3227, allocations: 103.9 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3227, allocations: 0 / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.3228, allocations: 7.938 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3231, allocations: 35.14 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.3238, allocations: 397.5 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.3242, allocations: 0.7401 MB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3243, allocations: 23.42 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3243, allocations: 0 / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004919/0.3292, allocations: 2.726 MB / 0.5719 GB, free: 9.352 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/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: 7.61449265293777]