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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 104.5 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3922/0.3922, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 75.86 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3326, allocations: 62.01 MB / 0.5152 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003493/0.3361, allocations: 2.412 MB / 0.5175 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.3371, allocations: 0.654 MB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.3372, allocations: 2.344 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.3374, allocations: 27.72 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3375, allocations: 59.14 kB / 0.5182 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3377, allocations: 77.36 kB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.338, allocations: 334 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.3383, allocations: 139.1 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.3386, allocations: 130.9 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3387, allocations: 147.3 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.3388, allocations: 22.62 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.3389, allocations: 27.09 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.3389, allocations: 69.42 kB / 0.5191 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.3391, allocations: 148.5 kB / 0.5193 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.3394, allocations: 367.9 kB / 0.5196 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3394, allocations: 0 / 0.5196 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3394, allocations: 2.938 kB / 0.5196 GB, free: 34.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3394, allocations: 0 / 0.5196 GB, free: 34.82 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.0007882/0.3402, allocations: 0.5838 MB / 0.5202 GB, free: 34.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3403, allocations: 8.156 kB / 0.5202 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.3405, allocations: 50.16 kB / 0.5203 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3407, allocations: 197.9 kB / 0.5205 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.3408, allocations: 33.53 kB / 0.5205 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.3408, allocations: 26.59 kB / 0.5205 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.3412, allocations: 282.1 kB / 0.5208 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3412, allocations: 0 / 0.5208 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3413, allocations: 14.88 kB / 0.5208 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3413, allocations: 12.42 kB / 0.5208 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.3416, allocations: 217.4 kB / 0.521 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.343, allocations: 1.027 MB / 0.522 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.3431, allocations: 29.52 kB / 0.522 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.3431, allocations: 30.08 kB / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3431, allocations: 0 / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.3431, allocations: 30.56 kB / 0.5221 GB, free: 33.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3432, allocations: 0 / 0.5221 GB, free: 33.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002378/0.3434, allocations: 88.33 kB / 0.5222 GB, free: 33.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.3434, allocations: 54.5 kB / 0.5222 GB, free: 32.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.3438, allocations: 319.2 kB / 0.5225 GB, free: 32.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3438, allocations: 29.83 kB / 0.5226 GB, free: 32.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.344, allocations: 231.3 kB / 0.5228 GB, free: 32.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.344, allocations: 14.16 kB / 0.5228 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3441, allocations: 50.23 kB / 0.5229 GB, free: 32.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.3442, allocations: 334.1 kB / 0.5232 GB, free: 32.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3443, allocations: 64.61 kB / 0.5232 GB, free: 32.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3444, allocations: 91.34 kB / 0.5233 GB, free: 32.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.3446, allocations: 127.9 kB / 0.5234 GB, free: 32.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3446, allocations: 0 / 0.5234 GB, free: 32.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003315/0.345, allocations: 232.7 kB / 0.5237 GB, free: 31.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.345, allocations: 8.875 kB / 0.5237 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.345, allocations: 0 / 0.5237 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.345, allocations: 2.531 kB / 0.5237 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.3453, allocations: 53.97 kB / 0.5237 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3453, allocations: 3.688 kB / 0.5237 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.3455, allocations: 48.58 kB / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3456, allocations: 9.375 kB / 0.5238 GB, free: 31.91 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.548e-05/0.3457, allocations: 133.6 kB / 0.5239 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3457, allocations: 27.06 kB / 0.5239 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.3457, allocations: 21 kB / 0.524 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3458, allocations: 0 / 0.524 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3458, allocations: 0 / 0.524 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3458, allocations: 0 / 0.524 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.3462, allocations: 0.5182 MB / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3462, allocations: 0 / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.3463, allocations: 2.875 kB / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3463, allocations: 0 / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3463, allocations: 2.969 kB / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3463, allocations: 3.938 kB / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3463, allocations: 0 / 0.5245 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3465, allocations: 0.6908 MB / 0.5251 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.3466, allocations: 101.8 kB / 0.5252 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3466, allocations: 0 / 0.5252 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3467, allocations: 2.844 kB / 0.5252 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.3468, allocations: 7.359 kB / 0.5253 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3468, allocations: 10.88 kB / 0.5253 GB, free: 30.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.347, allocations: 224.1 kB / 0.5255 GB, free: 30.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.347, allocations: 0 / 0.5255 GB, free: 30.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00035/0.3473, allocations: 63.75 kB / 0.5255 GB, free: 30.34 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.04e-05/0.3474, allocations: 96.12 kB / 0.5256 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.3476, allocations: 107.7 kB / 0.5257 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3476, allocations: 0 / 0.5257 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.3477, allocations: 20.53 kB / 0.5258 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3479, allocations: 23.39 kB / 0.5258 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.3485, allocations: 0.5596 MB / 0.5263 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3487, allocations: 0.7456 MB / 0.5271 GB, free: 29.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3488, allocations: 28.36 kB / 0.5271 GB, free: 29.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.3488, allocations: 15.56 kB / 0.5271 GB, free: 29.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3488, allocations: 0 / 0.5271 GB, free: 29.01 MB / 378.7 MB Notification: Performance of Templates: time 0.003531/0.3524, allocations: 1.738 MB / 0.5288 GB, free: 28.85 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@2/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