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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 109.4 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009821/0.0009823, allocations: 190.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 55.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3666, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003496/0.3701, allocations: 2.36 MB / 0.5219 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3712, allocations: 0.6188 MB / 0.5225 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3713, allocations: 3.844 kB / 0.5225 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.244e-05/0.3714, allocations: 39.17 kB / 0.5225 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3716, allocations: 69.95 kB / 0.5226 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.3718, allocations: 89.95 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3721, allocations: 346.9 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.3724, allocations: 153.2 kB / 0.5231 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.3726, allocations: 136.6 kB / 0.5233 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.3729, allocations: 157.2 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.3729, allocations: 33.38 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.373, allocations: 33.31 kB / 0.5235 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.3731, allocations: 73.78 kB / 0.5236 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.3732, allocations: 157.7 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.3736, allocations: 372.2 kB / 0.5241 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3736, allocations: 0 / 0.5241 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3736, allocations: 0 / 0.5241 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3736, allocations: 1.094 kB / 0.5241 GB, free: 0.7305 MB / 382.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.0008451/0.3745, allocations: 0.5806 MB / 0.5246 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3745, allocations: 15.19 kB / 0.5246 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.3746, allocations: 31.66 kB / 0.5247 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3747, allocations: 203.4 kB / 0.5249 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.3748, allocations: 30.64 kB / 0.5249 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.3748, allocations: 28.06 kB / 0.5249 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.3754, allocations: 283.9 kB / 0.5252 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3754, allocations: 0 / 0.5252 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.3754, allocations: 11.59 kB / 0.5252 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3754, allocations: 7.219 kB / 0.5252 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.3758, allocations: 216.7 kB / 0.5254 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.3775, allocations: 0.9981 MB / 0.5264 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.3776, allocations: 41.03 kB / 0.5264 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.3776, allocations: 29.09 kB / 0.5265 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3777, allocations: 0.6094 kB / 0.5265 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3777, allocations: 36 kB / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3777, allocations: 0 / 0.5265 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002095/0.3779, allocations: 75.14 kB / 0.5266 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.378, allocations: 56.72 kB / 0.5266 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.3784, allocations: 319.8 kB / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3784, allocations: 25.83 kB / 0.5269 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3785, allocations: 235.2 kB / 0.5272 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.3786, allocations: 12.72 kB / 0.5272 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.3787, allocations: 54.42 kB / 0.5272 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3788, allocations: 340.4 kB / 0.5276 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3789, allocations: 64.66 kB / 0.5276 GB, free: 14.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3791, allocations: 85.62 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.3793, allocations: 127.3 kB / 0.5278 GB, free: 13.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3793, allocations: 1.656 kB / 0.5278 GB, free: 13.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003632/0.3796, allocations: 233.5 kB / 0.528 GB, free: 13.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3797, allocations: 5.5 kB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3797, allocations: 5.312 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3797, allocations: 1.375 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.38, allocations: 57.16 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.38, allocations: 1.375 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3802, allocations: 50.53 kB / 0.5282 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3802, allocations: 9.5 kB / 0.5282 GB, free: 13.77 MB / 398.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.0001084/0.3804, allocations: 131.4 kB / 0.5283 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3804, allocations: 17.44 kB / 0.5283 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.3805, allocations: 30.28 kB / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3805, allocations: 1.375 kB / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3805, allocations: 0 / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3805, allocations: 0 / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.3811, allocations: 0.5142 MB / 0.5288 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3811, allocations: 0 / 0.5288 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.3811, allocations: 8.109 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3811, allocations: 0 / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3811, allocations: 1.375 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3811, allocations: 0 / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3811, allocations: 1.375 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.3813, allocations: 103.8 kB / 0.529 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.3813, allocations: 106.3 kB / 0.5291 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.3814, allocations: 1.375 kB / 0.5291 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.3815, allocations: 1.375 kB / 0.5291 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.3815, allocations: 5.312 kB / 0.5291 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.3815, allocations: 0 / 0.5291 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.3817, allocations: 224.7 kB / 0.5293 GB, free: 12.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.3817, allocations: 4.031 kB / 0.5293 GB, free: 12.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.382, allocations: 68.03 kB / 0.5293 GB, free: 12.7 MB / 398.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 9.697e-05/0.3821, allocations: 99.22 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3824, allocations: 108.9 kB / 0.5295 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3824, allocations: 0 / 0.5295 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.3824, allocations: 14.59 kB / 0.5296 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3827, allocations: 34.19 kB / 0.5296 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.3834, allocations: 384.7 kB / 0.53 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3837, allocations: 0.7425 MB / 0.5307 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.3837, allocations: 23.45 kB / 0.5307 GB, free: 11.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3837, allocations: 0 / 0.5307 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004551/0.3883, allocations: 2.733 MB / 0.5334 GB, free: 10.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (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) 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) Reference file matches