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.001958/0.001958, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002583/0.002583, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2303/0.2303, allocations: 44.93 MB / 358.8 MB, free: 6.07 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.002087/0.002087, allocations: 75.88 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3698, allocations: 65.47 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004012/0.3738, allocations: 2.223 MB / 0.5596 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3751, allocations: 0.6351 MB / 0.5602 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3752, allocations: 4 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3754, allocations: 43.58 kB / 0.5603 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.3756, allocations: 67.34 kB / 0.5604 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.3759, allocations: 95.8 kB / 0.5604 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.3763, allocations: 343.2 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3766, allocations: 115.6 kB / 0.5609 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.3768, allocations: 143.6 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3771, allocations: 135.3 kB / 0.5611 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.3771, allocations: 32 kB / 0.5612 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.3772, allocations: 43.98 kB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.3773, allocations: 67.77 kB / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.3774, allocations: 135.4 kB / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.3779, allocations: 384.8 kB / 0.5618 GB, free: 3.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3779, allocations: 0 / 0.5618 GB, free: 3.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3779, allocations: 4 kB / 0.5618 GB, free: 3.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3779, allocations: 0 / 0.5618 GB, free: 3.027 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.0009242/0.3788, allocations: 0.5016 MB / 0.5623 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3788, allocations: 12.03 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.3791, allocations: 52.69 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3793, allocations: 146.1 kB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.3793, allocations: 29.03 kB / 0.5625 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.3794, allocations: 32.38 kB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.3799, allocations: 282.3 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3799, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3799, allocations: 8 kB / 0.5628 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3799, allocations: 11.98 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.3804, allocations: 222.5 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.3821, allocations: 0.8502 MB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.3822, allocations: 30.58 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.3822, allocations: 24.92 kB / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3822, allocations: 0 / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3822, allocations: 38.5 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3822, allocations: 0 / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002359/0.3825, allocations: 69.53 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3825, allocations: 55.41 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.3828, allocations: 266.9 kB / 0.5643 GB, free: 272 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3829, allocations: 25.7 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.383, allocations: 251.5 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3831, allocations: 12.08 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.3832, allocations: 61.64 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3833, allocations: 326.8 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3834, allocations: 63.97 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.3836, allocations: 89.62 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.3838, allocations: 118.2 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3838, allocations: 0 / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003995/0.3842, allocations: 233.5 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3842, allocations: 10.81 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3842, allocations: 4.031 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3842, allocations: 7.734 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.3845, allocations: 51.91 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3846, allocations: 11.92 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3848, allocations: 31.73 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3848, allocations: 12 kB / 0.5656 GB, free: 14.94 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.0001421/0.385, allocations: 129.8 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.385, allocations: 15.91 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.385, allocations: 24.58 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.385, allocations: 4 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.385, allocations: 0 / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.385, allocations: 0 / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.3857, allocations: 419.2 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3857, allocations: 7.875 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.3857, allocations: 4 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3857, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3857, allocations: 0 / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3857, allocations: 7.938 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3857, allocations: 4 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3859, allocations: 93.95 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3859, allocations: 23.83 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3859, allocations: 0 / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.386, allocations: 8 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.3861, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3861, allocations: 3.938 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3863, allocations: 184.6 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3863, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3866, allocations: 71.78 kB / 0.5665 GB, free: 13.89 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.0001272/0.3867, allocations: 99.27 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3869, allocations: 99.91 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3869, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.387, allocations: 8 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3873, allocations: 20.59 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.3881, allocations: 371.7 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3883, allocations: 129.8 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.3884, allocations: 21.62 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.3884, allocations: 23.42 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3884, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005481/0.3939, allocations: 1.853 MB / 0.5691 GB, free: 11.25 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/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: 5.475890042260289]