Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007415/0.0007415, allocations: 94.28 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3328/0.3328, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002622, allocations: 8 kB / 470.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3122, allocations: 63.09 MB / 0.5214 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002091/0.3144, allocations: 1.981 MB / 0.5233 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3154, allocations: 0.8604 MB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.3155, allocations: 3.875 kB / 0.5242 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.3156, allocations: 27.69 kB / 0.5242 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.3158, allocations: 58.05 kB / 0.5242 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.316, allocations: 80.16 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.3162, allocations: 329.3 kB / 0.5246 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.3164, allocations: 129.2 kB / 0.5247 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3166, allocations: 121 kB / 0.5249 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.3168, allocations: 129.7 kB / 0.525 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3168, allocations: 20.25 kB / 0.525 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.3169, allocations: 21.66 kB / 0.525 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.3169, allocations: 53.09 kB / 0.5251 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.317, allocations: 156.7 kB / 0.5252 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3173, allocations: 353 kB / 0.5256 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3173, allocations: 0 / 0.5256 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3173, allocations: 2.312 kB / 0.5256 GB, free: 35.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3173, allocations: 3.938 kB / 0.5256 GB, free: 35.67 MB / 378.7 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.0006188/0.3179, allocations: 0.5277 MB / 0.5261 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.318, allocations: 8.812 kB / 0.5261 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3182, allocations: 51.95 kB / 0.5261 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3184, allocations: 203.2 kB / 0.5263 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.3184, allocations: 33.78 kB / 0.5264 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.3185, allocations: 32.69 kB / 0.5264 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.3189, allocations: 285.2 kB / 0.5267 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3189, allocations: 0 / 0.5267 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.3189, allocations: 11 kB / 0.5267 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3189, allocations: 9.25 kB / 0.5267 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.3193, allocations: 217.5 kB / 0.5269 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3207, allocations: 1.03 MB / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.3207, allocations: 31.08 kB / 0.5279 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.3208, allocations: 23.86 kB / 0.528 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3208, allocations: 0 / 0.528 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.3208, allocations: 38.56 kB / 0.528 GB, free: 33.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3208, allocations: 0 / 0.528 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.321, allocations: 76.58 kB / 0.5281 GB, free: 33.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.321, allocations: 54.28 kB / 0.5281 GB, free: 33.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.3213, allocations: 324.1 kB / 0.5284 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.3213, allocations: 25.7 kB / 0.5285 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.3214, allocations: 237.1 kB / 0.5287 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.3215, allocations: 17.94 kB / 0.5287 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.3215, allocations: 8 kB / 0.5287 GB, free: 33.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.3215, allocations: 327.7 kB / 0.529 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3217, allocations: 65.98 kB / 0.5291 GB, free: 33.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3218, allocations: 92.58 kB / 0.5292 GB, free: 33.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.322, allocations: 127.8 kB / 0.5293 GB, free: 32.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.322, allocations: 4 kB / 0.5293 GB, free: 32.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003165/0.3223, allocations: 225.5 kB / 0.5295 GB, free: 32.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3223, allocations: 12.59 kB / 0.5295 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3223, allocations: 0 / 0.5295 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3223, allocations: 3.031 kB / 0.5295 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.3226, allocations: 57.55 kB / 0.5296 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3226, allocations: 3.031 kB / 0.5296 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3229, allocations: 41.8 kB / 0.5296 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3229, allocations: 9.969 kB / 0.5296 GB, free: 32.83 MB / 378.7 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 8.62e-05/0.323, allocations: 135 kB / 0.5298 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.323, allocations: 26.44 kB / 0.5298 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.323, allocations: 25.27 kB / 0.5298 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3231, allocations: 0 / 0.5298 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3231, allocations: 0 / 0.5298 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3231, allocations: 0 / 0.5298 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.3236, allocations: 0.5103 MB / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3236, allocations: 0 / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.3236, allocations: 3.094 kB / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3236, allocations: 6.188 kB / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3236, allocations: 0 / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3236, allocations: 0 / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3236, allocations: 0 / 0.5303 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.194e-05/0.3237, allocations: 105.3 kB / 0.5304 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.3238, allocations: 104.9 kB / 0.5305 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3238, allocations: 0 / 0.5305 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3239, allocations: 2.812 kB / 0.5305 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.3239, allocations: 0 / 0.5305 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.324, allocations: 2.969 kB / 0.5305 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.3242, allocations: 228.3 kB / 0.5307 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3242, allocations: 4.031 kB / 0.5307 GB, free: 31.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.3244, allocations: 64.5 kB / 0.5308 GB, free: 31.86 MB / 378.7 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 7.807e-05/0.3245, allocations: 100.8 kB / 0.5309 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3247, allocations: 114.4 kB / 0.531 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3247, allocations: 0 / 0.531 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.3247, allocations: 14.06 kB / 0.531 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.325, allocations: 35.91 kB / 0.5311 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.3255, allocations: 482.2 kB / 0.5315 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3257, allocations: 0.7448 MB / 0.5322 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3258, allocations: 23.45 kB / 0.5323 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.3258, allocations: 20.16 kB / 0.5323 GB, free: 30.63 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3258, allocations: 4 kB / 0.5323 GB, free: 30.63 MB / 378.7 MB Notification: Performance of Templates: time 0.003632/0.3295, allocations: 1.648 MB / 0.5339 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches