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.001336/0.001336, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001618/0.001618, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2176/0.2176, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4333, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006991/0.4403, allocations: 5.323 MB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.4437, allocations: 1.583 MB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.4441, allocations: 17.38 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.4481, allocations: 1.59 MB / 0.5272 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.4494, allocations: 299.2 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.451, allocations: 0.6839 MB / 0.5282 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.4521, allocations: 0.7974 MB / 0.5289 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.4533, allocations: 0.7281 MB / 0.5297 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.4539, allocations: 339.6 kB / 0.53 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000673/0.4545, allocations: 460.7 kB / 0.5304 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.4547, allocations: 74.72 kB / 0.5305 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.4553, allocations: 194.5 kB / 0.5307 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.4555, allocations: 174.8 kB / 0.5308 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.456, allocations: 435.8 kB / 0.5313 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.4574, allocations: 1.159 MB / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4575, allocations: 1.531 kB / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4575, allocations: 0 / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.4575, allocations: 0 / 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.003642/0.4611, allocations: 1.37 MB / 0.5337 GB, free: 9.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.4612, allocations: 9.125 kB / 0.5337 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.4627, allocations: 227.4 kB / 0.5339 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.463, allocations: 258.8 kB / 0.5342 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/0.4631, allocations: 77.34 kB / 0.5343 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.4633, allocations: 106 kB / 0.5344 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.465, allocations: 0.934 MB / 0.5353 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.465, allocations: 1.25 kB / 0.5353 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.4651, allocations: 44.39 kB / 0.5353 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/0.4652, allocations: 25 kB / 0.5354 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.4666, allocations: 0.7227 MB / 0.5361 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005329/0.472, allocations: 3.924 MB / 0.5399 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.475, allocations: 3.368 MB / 0.5432 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.4754, allocations: 308.7 kB / 0.5435 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.4756, allocations: 92.89 kB / 0.5436 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4756, allocations: 42.42 kB / 0.5436 GB, free: 368 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.275e-06/0.4756, allocations: 1.219 kB / 0.5436 GB, free: 368 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002861/0.4785, allocations: 1.335 MB / 0.5449 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.4786, allocations: 136.5 kB / 0.545 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.4791, allocations: 311.5 kB / 0.5453 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.4791, allocations: 36.64 kB / 0.5454 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.4794, allocations: 410.3 kB / 0.5458 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4796, allocations: 245 kB / 0.546 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.4798, allocations: 145.3 kB / 0.5461 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4799, allocations: 351.8 kB / 0.5465 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.4803, allocations: 201.4 kB / 0.5467 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.4808, allocations: 397.5 kB / 0.547 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.4816, allocations: 0.6191 MB / 0.5476 GB, free: 13.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.4816, allocations: 1.188 kB / 0.5476 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001443/0.4831, allocations: 0.8861 MB / 0.5485 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4831, allocations: 11.98 kB / 0.5485 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4831, allocations: 4 kB / 0.5485 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.4838, allocations: 223.7 kB / 0.5487 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.4843, allocations: 147.7 kB / 0.5489 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/0.4896, allocations: 6.71 MB / 0.5554 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.4902, allocations: 91.27 kB / 0.5555 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.4902, allocations: 35.98 kB / 0.5556 GB, free: 4.445 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.0003251/0.4906, allocations: 229.6 kB / 0.5558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.4907, allocations: 43.72 kB / 0.5558 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4918, allocations: 0.6832 MB / 0.5565 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4919, allocations: 8 kB / 0.5565 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4919, allocations: 8 kB / 0.5565 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4919, allocations: 7.984 kB / 0.5565 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.4941, allocations: 1.569 MB / 0.558 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4942, allocations: 0 / 0.558 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.4944, allocations: 67.91 kB / 0.5581 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/0.4949, allocations: 211.2 kB / 0.5583 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.495, allocations: 19.98 kB / 0.5583 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.5004, allocations: 6.682 MB / 0.5648 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5004, allocations: 8.062 kB / 0.5649 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.502, allocations: 1.191 MB / 0.566 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.5022, allocations: 128.6 kB / 0.5661 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.5022, allocations: 12 kB / 0.5662 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.5025, allocations: 15.98 kB / 0.5662 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5027, allocations: 67.81 kB / 0.5662 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.5027, allocations: 20.36 kB / 0.5663 GB, free: 8.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.5029, allocations: 210 kB / 0.5665 GB, free: 8.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.503, allocations: 0 / 0.5665 GB, free: 8.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001075/0.504, allocations: 271.4 kB / 0.5667 GB, free: 8.293 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.000243/0.5043, allocations: 148.5 kB / 0.5669 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.5058, allocations: 1.087 MB / 0.5679 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5059, allocations: 1.125 kB / 0.5679 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.5067, allocations: 0.7718 MB / 0.5687 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.5074, allocations: 44.55 kB / 0.5687 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.5098, allocations: 1.249 MB / 0.5699 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.5104, allocations: 0.915 MB / 0.5708 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.5107, allocations: 64.53 kB / 0.5709 GB, free: 3.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.5108, allocations: 39.42 kB / 0.5709 GB, free: 3.801 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5108, allocations: 0 / 0.5709 GB, free: 3.801 MB / 430.1 MB Notification: Performance of Templates: time 0.01297/0.5238, allocations: 6.82 MB / 0.5776 GB, free: 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