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.001506/0.001506, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4469, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.004239/0.4512, allocations: 2.363 MB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4524, allocations: 0.6673 MB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.4525, allocations: 3.844 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4526, allocations: 44.17 kB / 0.534 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.4528, allocations: 70.94 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.4531, allocations: 88.94 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.4535, allocations: 340.7 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.4539, allocations: 170.7 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.4542, allocations: 146.4 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.4545, allocations: 153.8 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.4546, allocations: 32.19 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.4547, allocations: 39.69 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.4548, allocations: 72.06 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.455, allocations: 154 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.4554, allocations: 381.9 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4555, allocations: 1.469 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4555, allocations: 0 / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4555, allocations: 0 / 0.5356 GB, free: 10.09 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.001261/0.4567, allocations: 0.5789 MB / 0.5361 GB, free: 9.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/0.4568, allocations: 9.875 kB / 0.5361 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.4572, allocations: 45.42 kB / 0.5362 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.4576, allocations: 206.5 kB / 0.5364 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.4576, allocations: 22.12 kB / 0.5364 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.4577, allocations: 36.7 kB / 0.5364 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.4584, allocations: 274.1 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4585, allocations: 4 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.4585, allocations: 18.05 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.4586, allocations: 7.875 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.4591, allocations: 218.5 kB / 0.5369 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.4615, allocations: 1.012 MB / 0.5379 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4616, allocations: 35.56 kB / 0.538 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.4617, allocations: 24.23 kB / 0.538 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4617, allocations: 1.406 kB / 0.538 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4618, allocations: 34.56 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4618, allocations: 1.375 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002636/0.4621, allocations: 77.02 kB / 0.5381 GB, free: 8.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.4621, allocations: 55.39 kB / 0.5381 GB, free: 7.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.4626, allocations: 313.3 kB / 0.5384 GB, free: 7.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.4627, allocations: 26.73 kB / 0.5385 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.4629, allocations: 234.6 kB / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.4629, allocations: 10.77 kB / 0.5387 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.463, allocations: 60.48 kB / 0.5388 GB, free: 7.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4632, allocations: 335.2 kB / 0.5391 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4633, allocations: 64.34 kB / 0.5391 GB, free: 7.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4635, allocations: 85.06 kB / 0.5392 GB, free: 7.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.4638, allocations: 119.9 kB / 0.5393 GB, free: 6.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4638, allocations: 0 / 0.5393 GB, free: 6.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004401/0.4642, allocations: 242.5 kB / 0.5396 GB, free: 6.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4643, allocations: 5.406 kB / 0.5396 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4643, allocations: 5 kB / 0.5396 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4643, allocations: 2.188 kB / 0.5396 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.4646, allocations: 52.78 kB / 0.5396 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4646, allocations: 1.125 kB / 0.5396 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.4649, allocations: 46.52 kB / 0.5397 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.4649, allocations: 10.19 kB / 0.5397 GB, free: 6.797 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.0001204/0.465, allocations: 134.4 kB / 0.5398 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.4651, allocations: 21.3 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.4652, allocations: 27.7 kB / 0.5399 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4652, allocations: 0 / 0.5399 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4652, allocations: 1.5 kB / 0.5399 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4652, allocations: 0 / 0.5399 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.4659, allocations: 0.513 MB / 0.5404 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4659, allocations: 1.219 kB / 0.5404 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.4659, allocations: 10.94 kB / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4659, allocations: 1.188 kB / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4659, allocations: 1.562 kB / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4659, allocations: 0 / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4659, allocations: 0 / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.4661, allocations: 96.77 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.4662, allocations: 105.3 kB / 0.5406 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.4662, allocations: 5.281 kB / 0.5406 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4663, allocations: 5.656 kB / 0.5406 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.4664, allocations: 1.375 kB / 0.5406 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4664, allocations: 5.906 kB / 0.5406 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.4667, allocations: 221.8 kB / 0.5408 GB, free: 5.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4667, allocations: 1.375 kB / 0.5408 GB, free: 5.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.467, allocations: 63.5 kB / 0.5409 GB, free: 5.73 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 0.0001398/0.4671, allocations: 99.16 kB / 0.541 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.4674, allocations: 112.9 kB / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4674, allocations: 0 / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.4674, allocations: 10.58 kB / 0.5411 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.4678, allocations: 29.45 kB / 0.5411 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.4686, allocations: 370.2 kB / 0.5415 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.469, allocations: 0.7462 MB / 0.5422 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.4691, allocations: 25.12 kB / 0.5422 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.4692, allocations: 16.38 kB / 0.5422 GB, free: 4.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4692, allocations: 0 / 0.5422 GB, free: 4.543 MB / 398.1 MB Notification: Performance of Templates: time 0.005374/0.4745, allocations: 1.836 MB / 0.544 GB, free: 3.617 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches