Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 116.9 kB / 17.78 MB, free: 5.254 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.001233/0.001233, 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.341/1.341, 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.2193/0.2193, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4876, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005784/0.4934, allocations: 3.504 MB / 0.5223 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.495, allocations: 0.7829 MB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.4952, allocations: 9.062 kB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.4955, allocations: 80.34 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.4958, allocations: 126.9 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.4962, allocations: 131.1 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.4967, allocations: 0.5148 MB / 0.5239 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.4972, allocations: 252.8 kB / 0.5242 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.4975, allocations: 221.7 kB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.4979, allocations: 230.2 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.4979, allocations: 49.72 kB / 0.5246 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.498, allocations: 52.31 kB / 0.5247 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4982, allocations: 113.6 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.4984, allocations: 251.5 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008201/0.4993, allocations: 0.5564 MB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.4993, allocations: 1.531 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4993, allocations: 0.7031 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.4993, allocations: 0 / 0.5256 GB, free: 15.27 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001673/0.501, allocations: 0.7671 MB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5011, allocations: 10.06 kB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.5012, allocations: 53.67 kB / 0.5264 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.5018, allocations: 328.3 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.5018, allocations: 36.09 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.5019, allocations: 45.88 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.5029, allocations: 461.8 kB / 0.5272 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.503, allocations: 0 / 0.5272 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.503, allocations: 28.05 kB / 0.5272 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.5031, allocations: 18.94 kB / 0.5273 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.5038, allocations: 321.1 kB / 0.5276 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.5064, allocations: 1.677 MB / 0.5292 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.5071, allocations: 232.2 kB / 0.5294 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.5074, allocations: 138.6 kB / 0.5296 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.5075, allocations: 7.281 kB / 0.5296 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5075, allocations: 36.62 kB / 0.5296 GB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.5075, allocations: 0 / 0.5296 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003186/0.5107, allocations: 1.349 MB / 0.5309 GB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.5108, allocations: 92.19 kB / 0.531 GB, free: 11.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.5111, allocations: 257.8 kB / 0.5312 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.5111, allocations: 31.39 kB / 0.5313 GB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.5113, allocations: 261.9 kB / 0.5315 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.5114, allocations: 129.2 kB / 0.5317 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5116, allocations: 78.83 kB / 0.5317 GB, free: 10.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5117, allocations: 341.5 kB / 0.5321 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.512, allocations: 108.9 kB / 0.5322 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.5123, allocations: 223.9 kB / 0.5324 GB, free: 9.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.513, allocations: 332.7 kB / 0.5327 GB, free: 9.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.513, allocations: 5.312 kB / 0.5327 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008355/0.5138, allocations: 417.5 kB / 0.5331 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5139, allocations: 10.97 kB / 0.5331 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5139, allocations: 3 kB / 0.5331 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.514, allocations: 28.75 kB / 0.5331 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.5145, allocations: 128.9 kB / 0.5333 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.5157, allocations: 1.442 MB / 0.5347 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.5159, allocations: 11.81 kB / 0.5347 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.5159, allocations: 25.08 kB / 0.5347 GB, free: 7.844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.5161, allocations: 166.1 kB / 0.5349 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.5162, allocations: 35.03 kB / 0.5349 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.5163, allocations: 35.8 kB / 0.5349 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5163, allocations: 3.969 kB / 0.5349 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5163, allocations: 1.562 kB / 0.5349 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5163, allocations: 0 / 0.5349 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.5176, allocations: 0.7219 MB / 0.5356 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5176, allocations: 1.094 kB / 0.5356 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.5181, allocations: 90.16 kB / 0.5357 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.765e-05/0.5182, allocations: 29.44 kB / 0.5357 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.5182, allocations: 15.78 kB / 0.5358 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.5193, allocations: 1.426 MB / 0.5372 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5194, allocations: 1.281 kB / 0.5372 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5205, allocations: 0.603 MB / 0.5377 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.5206, allocations: 123.2 kB / 0.5379 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.5207, allocations: 7.469 kB / 0.5379 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.521, allocations: 22.7 kB / 0.5379 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.521, allocations: 34.7 kB / 0.5379 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.5211, allocations: 11.22 kB / 0.5379 GB, free: 4.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.5213, allocations: 179.5 kB / 0.5381 GB, free: 4.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5213, allocations: 0 / 0.5381 GB, free: 4.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004719/0.5217, allocations: 92.44 kB / 0.5382 GB, free: 4.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.5219, allocations: 110.5 kB / 0.5383 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.5228, allocations: 407.8 kB / 0.5387 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5228, allocations: 0 / 0.5387 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.5232, allocations: 260.5 kB / 0.5389 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.5237, allocations: 46.8 kB / 0.539 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.5254, allocations: 0.9008 MB / 0.5399 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.5259, allocations: 0.8143 MB / 0.5407 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.5261, allocations: 32.19 kB / 0.5407 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.5262, allocations: 29.94 kB / 0.5407 GB, free: 2.812 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5262, allocations: 0 / 0.5407 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Templates: time 0.009386/0.5355, allocations: 3.168 MB / 0.5438 GB, free: 1.254 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches