Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001569/0.001569, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.553/1.553, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2437/0.2437, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4272, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006314/0.4336, allocations: 5.312 MB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.4371, allocations: 1.582 MB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.4375, allocations: 18.88 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.4412, allocations: 1.592 MB / 0.5272 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.4423, allocations: 306.8 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4437, allocations: 0.6736 MB / 0.5282 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000963/0.4447, allocations: 0.8009 MB / 0.5289 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.4457, allocations: 0.7314 MB / 0.5297 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.4462, allocations: 339.7 kB / 0.53 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.4467, allocations: 464.9 kB / 0.5304 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.4468, allocations: 74.66 kB / 0.5305 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.4473, allocations: 191.4 kB / 0.5307 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.4475, allocations: 173.8 kB / 0.5308 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.4479, allocations: 432.1 kB / 0.5313 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.4492, allocations: 1.154 MB / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4492, allocations: 0 / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4492, allocations: 0 / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.4493, allocations: 1.031 kB / 0.5324 GB, free: 10.25 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003426/0.4527, allocations: 1.347 MB / 0.5337 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4527, allocations: 9.875 kB / 0.5337 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.4542, allocations: 230.7 kB / 0.5339 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4545, allocations: 268.1 kB / 0.5342 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.4546, allocations: 78 kB / 0.5343 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4547, allocations: 109.3 kB / 0.5344 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.4563, allocations: 0.9267 MB / 0.5353 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.4563, allocations: 1.219 kB / 0.5353 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.4564, allocations: 41.12 kB / 0.5353 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.4565, allocations: 24.19 kB / 0.5353 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.4578, allocations: 0.7208 MB / 0.536 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.4628, allocations: 3.905 MB / 0.5398 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.4658, allocations: 3.385 MB / 0.5432 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.4663, allocations: 303.4 kB / 0.5434 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4664, allocations: 96.94 kB / 0.5435 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4664, allocations: 43.02 kB / 0.5436 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.4665, allocations: 4 kB / 0.5436 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002886/0.4694, allocations: 1.324 MB / 0.5449 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.4694, allocations: 135.3 kB / 0.545 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.4699, allocations: 315.6 kB / 0.5453 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.4699, allocations: 37.2 kB / 0.5453 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.4702, allocations: 396.9 kB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.4704, allocations: 227.9 kB / 0.5459 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.4706, allocations: 149 kB / 0.5461 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4708, allocations: 347.5 kB / 0.5464 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.4712, allocations: 202.1 kB / 0.5466 GB, free: 13.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.472, allocations: 398.1 kB / 0.547 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.4734, allocations: 0.6297 MB / 0.5476 GB, free: 13.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4734, allocations: 1.125 kB / 0.5476 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002392/0.4758, allocations: 0.8782 MB / 0.5485 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.4759, allocations: 16.05 kB / 0.5485 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.4759, allocations: 4 kB / 0.5485 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4769, allocations: 223.2 kB / 0.5487 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.4777, allocations: 135.8 kB / 0.5488 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/0.4864, allocations: 6.713 MB / 0.5554 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008633/0.4873, allocations: 83.11 kB / 0.5554 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4874, allocations: 36.06 kB / 0.5555 GB, free: 4.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005577/0.488, allocations: 225.5 kB / 0.5557 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.4882, allocations: 43.44 kB / 0.5557 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.4902, allocations: 0.6871 MB / 0.5564 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4903, allocations: 11.98 kB / 0.5564 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/0.4903, allocations: 8 kB / 0.5564 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.4903, allocations: 3.984 kB / 0.5564 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/0.4945, allocations: 1.561 MB / 0.558 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4945, allocations: 0 / 0.558 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.4949, allocations: 67.91 kB / 0.558 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000877/0.4958, allocations: 215.5 kB / 0.5582 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.4959, allocations: 23.98 kB / 0.5583 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009041/0.505, allocations: 6.682 MB / 0.5648 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.505, allocations: 0 / 0.5648 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.5077, allocations: 1.191 MB / 0.5659 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.508, allocations: 124.5 kB / 0.5661 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5081, allocations: 12 kB / 0.5661 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.5088, allocations: 20.05 kB / 0.5661 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.509, allocations: 63.75 kB / 0.5661 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.509, allocations: 19.98 kB / 0.5662 GB, free: 8.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.5094, allocations: 210 kB / 0.5664 GB, free: 8.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5095, allocations: 0 / 0.5664 GB, free: 8.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001767/0.5112, allocations: 271.1 kB / 0.5666 GB, free: 8.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.5116, allocations: 147.1 kB / 0.5668 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.514, allocations: 1.076 MB / 0.5678 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.514, allocations: 4.062 kB / 0.5678 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.5153, allocations: 0.7639 MB / 0.5686 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5165, allocations: 52.66 kB / 0.5686 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.5204, allocations: 1.231 MB / 0.5698 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.5215, allocations: 0.9072 MB / 0.5707 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000452/0.522, allocations: 68.53 kB / 0.5708 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.5221, allocations: 39.42 kB / 0.5708 GB, free: 3.922 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5222, allocations: 0 / 0.5708 GB, free: 3.922 MB / 430.1 MB Notification: Performance of Templates: time 0.02055/0.5427, allocations: 6.813 MB / 0.5775 GB, free: 13.13 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches