Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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) 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(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 102.7 kB / 17.16 MB, free: 6.09 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.002421/0.002421, allocations: 198.9 kB / 18.08 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.252/2.252, allocations: 222.9 MB / 241.8 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 42.84 kB / 300.6 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1715, allocations: 49.45 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01849/0.19, allocations: 7.198 MB / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008697/0.1988, allocations: 2.176 MB / 359.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.2012, allocations: 47.81 kB / 359.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.204, allocations: 374 kB / 359.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.2104, allocations: 0.823 MB / 360.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.213, allocations: 327.5 kB / 361 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009764/0.2227, allocations: 3.449 MB / 364.4 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006687/0.2295, allocations: 2.428 MB / 366.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.2335, allocations: 1.214 MB / 368.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004933/0.2385, allocations: 1.619 MB / 369.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00168/0.2402, allocations: 236 kB / 369.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.2428, allocations: 359.9 kB / 370.3 MB, free: 272 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3086/0.5515, allocations: 0.7692 MB / 371.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006017/0.5575, allocations: 1.468 MB / 372.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009905/0.5675, allocations: 3.829 MB / 376.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.5676, allocations: 0 / 376.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5676, allocations: 0 / 376.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002775/0.5679, allocations: 0 / 376.4 MB, free: 13.13 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.02316/0.5911, allocations: 3.629 MB / 380 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.5912, allocations: 9.531 kB / 380 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009505/0.6007, allocations: 0.688 MB / 380.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008671/0.6094, allocations: 1.746 MB / 382.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/0.6099, allocations: 200.3 kB / 382.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.612, allocations: 271.8 kB / 382.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.6292, allocations: 3.608 MB / 386.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.6295, allocations: 7.469 kB / 386.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.6308, allocations: 107.1 kB / 386.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002072/0.631, allocations: 106.5 kB / 386.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.6445, allocations: 3.096 MB / 389.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/0.6833, allocations: 10.34 MB / 400.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009813/0.6932, allocations: 4.571 MB / 404.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/0.6967, allocations: 0.9464 MB / 405.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009258/0.706, allocations: 2.401 MB / 408.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.549e-05/0.7061, allocations: 46.16 kB / 408.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 5.941e-06/0.7061, allocations: 4 kB / 408.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01413/0.7203, allocations: 2.648 MB / 410.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.7204, allocations: 89.98 kB / 410.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/0.7256, allocations: 1.37 MB / 412.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000451/0.7261, allocations: 45.7 kB / 412.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.7278, allocations: 1.159 MB / 413.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.7288, allocations: 367.9 kB / 413.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.7299, allocations: 214.8 kB / 414 MB, free: 3.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.7302, allocations: 361.9 kB / 414.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.7324, allocations: 0.5569 MB / 414.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/0.7348, allocations: 0.8469 MB / 415.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/0.7396, allocations: 1.458 MB / 417.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/0.7396, allocations: 4 kB / 417.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007684/0.7473, allocations: 1.96 MB / 419.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.7474, allocations: 12.19 kB / 419.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/0.7475, allocations: 12.5 kB / 419.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.7497, allocations: 402.1 kB / 419.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.7518, allocations: 221 kB / 419.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.7665, allocations: 5.982 MB / 425.8 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.7691, allocations: 138.7 kB / 425.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003981/0.7695, allocations: 55.94 kB / 426 MB, free: 6.898 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00347/0.773, allocations: 0.8615 MB / 426.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008648/0.7739, allocations: 134.4 kB / 427 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/0.7801, allocations: 1.647 MB / 428.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.7801, allocations: 15.94 kB / 428.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/0.7802, allocations: 8 kB / 428.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.7802, allocations: 7.969 kB / 428.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.7954, allocations: 3.912 MB / 432.6 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.7955, allocations: 4 kB / 432.6 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.7968, allocations: 139.6 kB / 432.7 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.7991, allocations: 388 kB / 433.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.7993, allocations: 31.98 kB / 433.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/0.8142, allocations: 5.965 MB / 439.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.8142, allocations: 4 kB / 439.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009147/0.8234, allocations: 2.489 MB / 441.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.8247, allocations: 239.2 kB / 441.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008287/0.8256, allocations: 27.98 kB / 441.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/0.8279, allocations: 91.91 kB / 441.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/0.8285, allocations: 96.67 kB / 442 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/0.8288, allocations: 31.98 kB / 442 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004181/0.833, allocations: 0.9552 MB / 443 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.833, allocations: 0 / 443 MB, free: 5.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005728/0.8388, allocations: 0.6766 MB / 443.7 MB, free: 4.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008885/0.8397, allocations: 152.5 kB / 443.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007116/0.8469, allocations: 1.772 MB / 445.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/0.847, allocations: 1.188 kB / 445.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.8516, allocations: 1.125 MB / 446.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/0.8563, allocations: 298.3 kB / 447 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.8758, allocations: 5.693 MB / 452.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004483/0.8804, allocations: 2.115 MB / 454.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.8815, allocations: 99.41 kB / 454.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of SimCode: time 2.114e-06/0.8816, allocations: 0 / 454.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of Templates: time 0.137/1.019, allocations: 52.6 MB / 0.4956 GB, free: 5.066 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches