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.001619/0.001619, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001776/0.001776, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.2375/0.2375, allocations: 46.97 MB / 361.6 MB, free: 4.133 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 0.001934/0.001934, allocations: 71.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003974/0.3443, allocations: 2.223 MB / 0.564 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3457, allocations: 0.6312 MB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.3458, allocations: 4 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.346, allocations: 39.58 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.3462, allocations: 71.34 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.3465, allocations: 95.81 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.3468, allocations: 343.2 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3471, allocations: 127.6 kB / 0.5653 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.3474, allocations: 139.6 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3476, allocations: 159.3 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.3477, allocations: 36 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.3478, allocations: 36 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.3478, allocations: 75.75 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.348, allocations: 123.5 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.3484, allocations: 393 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3484, allocations: 0 / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3484, allocations: 4 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3485, allocations: 0 / 0.5662 GB, free: 15.69 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.0009885/0.3494, allocations: 0.5016 MB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3495, allocations: 12.03 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.3498, allocations: 48.69 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.35, allocations: 153.1 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.35, allocations: 25.03 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.3501, allocations: 32.38 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3506, allocations: 278.4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3506, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3506, allocations: 12 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3506, allocations: 8 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.3511, allocations: 222.5 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3527, allocations: 0.8541 MB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.3528, allocations: 30.52 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.3528, allocations: 28.92 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.3528, allocations: 0 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3529, allocations: 38.5 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3529, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.3531, allocations: 73.53 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3531, allocations: 51.41 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.3535, allocations: 263.7 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3535, allocations: 25.7 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3537, allocations: 251.3 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3537, allocations: 7.953 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3538, allocations: 65.77 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.354, allocations: 322.8 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3541, allocations: 63.97 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.3543, allocations: 89.62 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3545, allocations: 122.2 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3545, allocations: 0 / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004216/0.3549, allocations: 229.5 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.355, allocations: 4 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.355, allocations: 0 / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.355, allocations: 11.97 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.3553, allocations: 55.91 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.3553, allocations: 4 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3555, allocations: 35.72 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3556, allocations: 7.938 kB / 0.57 GB, free: 11.62 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.0002074/0.3558, allocations: 137.8 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.3558, allocations: 11.91 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.3559, allocations: 20.64 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3559, allocations: 3.938 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3559, allocations: 4 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3559, allocations: 0 / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.3565, allocations: 423.2 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3565, allocations: 3.938 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.3566, allocations: 11.94 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3566, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3566, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3566, allocations: 4 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3566, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3567, allocations: 97.95 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3568, allocations: 23.83 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.3568, allocations: 0 / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.3569, allocations: 4 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.3569, allocations: 3.938 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3569, allocations: 3.938 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3572, allocations: 180.6 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3572, allocations: 0 / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.3575, allocations: 75.78 kB / 0.5709 GB, free: 10.56 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.0001511/0.3577, allocations: 99.23 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.358, allocations: 99.94 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.358, allocations: 0 / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.358, allocations: 8 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3584, allocations: 32.52 kB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/0.3592, allocations: 371.7 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.3593, allocations: 129.8 kB / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.17e-05/0.3594, allocations: 17.64 kB / 0.5716 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.3595, allocations: 15.44 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3595, allocations: 4 kB / 0.5717 GB, free: 9.738 MB / 414.1 MB Notification: Performance of Templates: time 0.005471/0.365, allocations: 1.932 MB / 0.5735 GB, free: 7.836 MB / 414.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 -s cvode -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/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_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.016752998999436]