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.0007781/0.0007782, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.0008003/0.0008002, allocations: 175 kB / 18.21 MB, free: 5.684 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.121/1.121, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002092, allocations: 7.938 kB / 302.1 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07126/0.07148, allocations: 50.41 MB / 352.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005767/0.07728, allocations: 6.687 MB / 359.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.08058, allocations: 2.141 MB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.08105, allocations: 47.81 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.0817, allocations: 374 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.08319, allocations: 0.8204 MB / 362.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.08373, allocations: 318.8 kB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.08643, allocations: 3.441 MB / 366.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.08854, allocations: 2.408 MB / 368.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008337/0.08938, allocations: 1.035 MB / 369.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.09059, allocations: 1.384 MB / 371.1 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.09078, allocations: 156 kB / 371.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.09125, allocations: 275.8 kB / 371.6 MB, free: 496 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1271/0.2183, allocations: 0.6405 MB / 372.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.2207, allocations: 1.344 MB / 373.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.2249, allocations: 3.729 MB / 377.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2249, allocations: 3.406 kB / 377.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2249, allocations: 0 / 377.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001425/0.225, allocations: 0 / 377.3 MB, free: 12.26 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.007444/0.2325, allocations: 3.122 MB / 380.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2325, allocations: 9.188 kB / 380.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.236, allocations: 0.6939 MB / 381.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.2384, allocations: 1.747 MB / 382.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2385, allocations: 195.7 kB / 383 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.2388, allocations: 267.1 kB / 383.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.244, allocations: 3.627 MB / 386.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.244, allocations: 0 / 386.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.2443, allocations: 111.2 kB / 387 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.01e-05/0.2443, allocations: 102.7 kB / 387.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.2485, allocations: 3.12 MB / 390.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.2596, allocations: 10.42 MB / 400.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.2634, allocations: 4.576 MB / 405.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.2646, allocations: 0.9624 MB / 406.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003024/0.2676, allocations: 2.401 MB / 408.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2677, allocations: 59.19 kB / 408.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.354e-06/0.2677, allocations: 0 / 408.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005367/0.2731, allocations: 2.709 MB / 411.4 MB, free: 6.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2731, allocations: 89.98 kB / 411.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.2746, allocations: 1.37 MB / 412.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.2747, allocations: 49.7 kB / 412.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006115/0.2753, allocations: 1.16 MB / 414 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.2755, allocations: 362.9 kB / 414.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2757, allocations: 101.7 kB / 414.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2758, allocations: 361.2 kB / 414.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/0.2766, allocations: 0.5725 MB / 415.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009414/0.2775, allocations: 0.8602 MB / 416.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.2794, allocations: 1.485 MB / 417.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.2794, allocations: 4 kB / 417.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002751/0.2821, allocations: 1.983 MB / 419.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2822, allocations: 8 kB / 419.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.2822, allocations: 12.03 kB / 419.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.283, allocations: 400.8 kB / 420.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.2837, allocations: 221 kB / 420.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.2895, allocations: 5.997 MB / 426.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.2903, allocations: 150.8 kB / 426.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.2904, allocations: 44 kB / 426.6 MB, free: 6.91 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.001149/0.2916, allocations: 0.8664 MB / 427.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.2918, allocations: 134.4 kB / 427.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.2943, allocations: 1.675 MB / 429.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2943, allocations: 21.89 kB / 429.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2943, allocations: 8 kB / 429.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.2944, allocations: 3.984 kB / 429.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.2993, allocations: 3.936 MB / 433.2 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.2993, allocations: 0 / 433.2 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.2998, allocations: 149.4 kB / 433.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/0.3006, allocations: 398.1 kB / 433.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.3007, allocations: 31.98 kB / 433.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005681/0.3063, allocations: 5.974 MB / 439.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3064, allocations: 0 / 439.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.3096, allocations: 2.521 MB / 442.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3098, allocations: 247.2 kB / 442.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.31, allocations: 24 kB / 442.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.3107, allocations: 99.91 kB / 442.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3109, allocations: 96.67 kB / 442.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.3109, allocations: 35.98 kB / 442.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.312, allocations: 0.966 MB / 443.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.312, allocations: 2.812 kB / 443.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001613/0.3137, allocations: 0.6688 MB / 444.4 MB, free: 4.77 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.000241/0.3139, allocations: 154.6 kB / 444.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.3164, allocations: 1.8 MB / 446.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3164, allocations: 3.938 kB / 446.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.3179, allocations: 1.143 MB / 447.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.3195, allocations: 298.4 kB / 447.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.3256, allocations: 5.765 MB / 453.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.327, allocations: 2.117 MB / 455.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.3273, allocations: 99.41 kB / 455.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3273, allocations: 0 / 455.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of Templates: time 0.04597/0.3733, allocations: 52.24 MB / 0.4961 GB, free: 5.164 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