Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 113.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 208 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.86 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3201, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003503/0.3236, allocations: 2.363 MB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.3246, allocations: 0.6752 MB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.3247, allocations: 8.125 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.3248, allocations: 35.72 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.325, allocations: 75.52 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3252, allocations: 88.12 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.3255, allocations: 344.7 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.3258, allocations: 162.5 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.326, allocations: 147 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.3263, allocations: 152.4 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.3263, allocations: 33.62 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.3264, allocations: 38.94 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.3265, allocations: 71.91 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.3266, allocations: 158.9 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.327, allocations: 377.8 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.327, allocations: 4 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.327, allocations: 1.125 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.327, allocations: 0 / 0.5363 GB, free: 10.07 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.0009015/0.3279, allocations: 0.5795 MB / 0.5368 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.328, allocations: 9.031 kB / 0.5368 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.3283, allocations: 44.8 kB / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3284, allocations: 202.6 kB / 0.5371 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.3285, allocations: 23.09 kB / 0.5371 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.3285, allocations: 31.69 kB / 0.5371 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.329, allocations: 278.3 kB / 0.5374 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.329, allocations: 0 / 0.5374 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3291, allocations: 14.53 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3291, allocations: 7.594 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.3295, allocations: 218.6 kB / 0.5376 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3311, allocations: 1.021 MB / 0.5386 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.3311, allocations: 26.64 kB / 0.5386 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.3312, allocations: 32.84 kB / 0.5387 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.3312, allocations: 1.094 kB / 0.5387 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3312, allocations: 31.78 kB / 0.5387 GB, free: 8.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3313, allocations: 4 kB / 0.5387 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.3314, allocations: 76.8 kB / 0.5388 GB, free: 8.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3315, allocations: 52.19 kB / 0.5388 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.3318, allocations: 321.5 kB / 0.5391 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3318, allocations: 25.7 kB / 0.5392 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.332, allocations: 230.4 kB / 0.5394 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.332, allocations: 15.02 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.3321, allocations: 57.14 kB / 0.5394 GB, free: 7.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3322, allocations: 335.5 kB / 0.5398 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3323, allocations: 63.58 kB / 0.5398 GB, free: 7.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3325, allocations: 89.8 kB / 0.5399 GB, free: 7.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3327, allocations: 119.7 kB / 0.54 GB, free: 6.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3327, allocations: 0 / 0.54 GB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003592/0.333, allocations: 234 kB / 0.5402 GB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3331, allocations: 14.05 kB / 0.5403 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3331, allocations: 0 / 0.5403 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3331, allocations: 5.688 kB / 0.5403 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.3334, allocations: 57.91 kB / 0.5403 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3334, allocations: 1.375 kB / 0.5403 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.3336, allocations: 42.33 kB / 0.5404 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3337, allocations: 5.531 kB / 0.5404 GB, free: 6.789 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.0001113/0.3338, allocations: 130.9 kB / 0.5405 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3338, allocations: 21.03 kB / 0.5405 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.3339, allocations: 27.48 kB / 0.5405 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3339, allocations: 0 / 0.5405 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3339, allocations: 1.094 kB / 0.5405 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.334, allocations: 100.9 kB / 0.5406 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.3341, allocations: 4.938 kB / 0.5406 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3342, allocations: 5.781 kB / 0.5406 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.3342, allocations: 8.859 kB / 0.5407 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001813/0.3344, allocations: 129.1 kB / 0.5408 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001565/0.3346, allocations: 247.4 kB / 0.541 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.58e-05/0.3346, allocations: 9.344 kB / 0.541 GB, free: 6.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.3349, allocations: 223.3 kB / 0.5412 GB, free: 5.992 MB / 398.1 MB Notification: Performance of Backend: time 3.8e-07/0.3349, allocations: 0 / 0.5412 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.3354, allocations: 179.2 kB / 0.5414 GB, free: 5.883 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007728/0.3362, allocations: 0.8191 MB / 0.5422 GB, free: 5.145 MB / 398.1 MB Notification: Performance of Templates: time 0.005388/0.3416, allocations: 2.645 MB / 0.5448 GB, free: 3.789 MB / 398.1 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/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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches