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.001734/0.001734, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002456/0.002456, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.606/1.606, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2425/0.2425, allocations: 44.94 MB / 359.6 MB, free: 6.16 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.002155/0.002155, allocations: 71.89 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3554, allocations: 65.48 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00403/0.3594, allocations: 2.219 MB / 0.5604 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3608, allocations: 0.635 MB / 0.561 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3609, allocations: 4 kB / 0.561 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.361, allocations: 35.59 kB / 0.561 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.3612, allocations: 71.33 kB / 0.5611 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3615, allocations: 99.86 kB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.3618, allocations: 343.2 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.3621, allocations: 107.6 kB / 0.5616 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.3624, allocations: 155.5 kB / 0.5618 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.3626, allocations: 127.4 kB / 0.5619 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.3626, allocations: 32 kB / 0.5619 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.3627, allocations: 36 kB / 0.562 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.3628, allocations: 75.75 kB / 0.562 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.363, allocations: 131.5 kB / 0.5621 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.3634, allocations: 385 kB / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3634, allocations: 0 / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3634, allocations: 0 / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3634, allocations: 4 kB / 0.5625 GB, free: 3.047 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.0009568/0.3644, allocations: 0.5055 MB / 0.563 GB, free: 2.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3644, allocations: 12.03 kB / 0.563 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.3647, allocations: 52.69 kB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3649, allocations: 148.8 kB / 0.5632 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.365, allocations: 32.89 kB / 0.5632 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.365, allocations: 32.38 kB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3655, allocations: 278.4 kB / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3655, allocations: 4 kB / 0.5635 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3656, allocations: 12 kB / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.3656, allocations: 8 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.366, allocations: 210.5 kB / 0.5638 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3678, allocations: 0.858 MB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3679, allocations: 34.55 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.3679, allocations: 24.92 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3679, allocations: 0 / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.368, allocations: 30.56 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.368, allocations: 0 / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002447/0.3682, allocations: 77.48 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3683, allocations: 55.39 kB / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.3686, allocations: 263.1 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3687, allocations: 33.7 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3689, allocations: 251.3 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.3689, allocations: 3.953 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.369, allocations: 57.66 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3692, allocations: 326.8 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3693, allocations: 59.98 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3695, allocations: 89.67 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.3697, allocations: 126.1 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3697, allocations: 0 / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004075/0.3701, allocations: 229.6 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3701, allocations: 7.984 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3702, allocations: 0 / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3702, allocations: 7.938 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.3705, allocations: 55.91 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3705, allocations: 0 / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3707, allocations: 35.72 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3707, allocations: 8 kB / 0.5663 GB, free: 14.97 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.0001383/0.3709, allocations: 129.8 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.3709, allocations: 27.88 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.3709, allocations: 16.64 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.3709, allocations: 3.938 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.371, allocations: 4 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.371, allocations: 0 / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.3716, allocations: 423.1 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3716, allocations: 4 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.3716, allocations: 3.938 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3716, allocations: 7.938 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3716, allocations: 4.062 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3716, allocations: 4 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3716, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.3718, allocations: 97.83 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.3718, allocations: 27.83 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3718, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.3719, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.372, allocations: 4 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.372, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3722, allocations: 180.6 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3722, allocations: 32 / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3725, allocations: 75.78 kB / 0.5673 GB, free: 13.91 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.0001089/0.3726, allocations: 91.25 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3728, allocations: 107.9 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3728, allocations: 3.938 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.3729, allocations: 4 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3732, allocations: 24.55 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.3739, allocations: 401.5 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.374, allocations: 133.8 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.3741, allocations: 23.38 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3741, allocations: 0 / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Templates: time 0.004959/0.3791, allocations: 2.639 MB / 0.5706 GB, free: 10.43 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.637911978643388]