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.001307/0.001307, allocations: 114.3 kB / 17.68 MB, free: 5.473 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.00153/0.00153, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009894/0.0009895, allocations: 47.62 kB / 302 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08448, allocations: 49.45 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007619/0.09212, allocations: 7.249 MB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.09601, allocations: 2.188 MB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.09661, allocations: 51.81 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008636/0.09752, allocations: 444.9 kB / 361.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.09953, allocations: 0.891 MB / 362.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.1003, allocations: 358.7 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.1035, allocations: 3.149 MB / 365.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.1065, allocations: 2.883 MB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.1081, allocations: 1.417 MB / 370.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1612/0.2693, allocations: 1.683 MB / 371.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008501/0.2702, allocations: 358.9 kB / 372.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.2714, allocations: 484.3 kB / 372.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008236/0.2722, allocations: 0.8992 MB / 373.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.2741, allocations: 1.609 MB / 375.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005654/0.2798, allocations: 4.664 MB / 379.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2798, allocations: 0 / 379.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2798, allocations: 2.5 kB / 379.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.2799, allocations: 0 / 379.8 MB, free: 12.34 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.009302/0.2893, allocations: 3.623 MB / 383.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2893, allocations: 9.094 kB / 383.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.2929, allocations: 0.6889 MB / 384.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.2963, allocations: 1.797 MB / 385.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.2964, allocations: 197 kB / 386.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/0.2968, allocations: 270.3 kB / 386.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/0.3033, allocations: 3.617 MB / 390 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.3034, allocations: 0 / 390 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.3037, allocations: 106 kB / 390.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.3038, allocations: 108.4 kB / 390.2 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/0.3088, allocations: 3.1 MB / 393.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.3229, allocations: 10.22 MB / 403.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/0.3275, allocations: 4.58 MB / 408.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3288, allocations: 0.9456 MB / 409 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004036/0.3329, allocations: 2.398 MB / 411.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3329, allocations: 43.44 kB / 411.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/0.3329, allocations: 0 / 411.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005782/0.3387, allocations: 2.656 MB / 414.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3388, allocations: 92.7 kB / 414.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.3405, allocations: 1.374 MB / 415.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/0.3406, allocations: 45.7 kB / 415.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.3413, allocations: 1.16 MB / 416.8 MB, free: 376 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.3415, allocations: 357.7 kB / 417.2 MB, free: 20 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.3419, allocations: 220.9 kB / 417.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.342, allocations: 361.9 kB / 417.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008468/0.3429, allocations: 0.5608 MB / 418.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.3439, allocations: 0.8442 MB / 419.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.3458, allocations: 1.462 MB / 420.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3458, allocations: 0 / 420.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003001/0.3488, allocations: 1.962 MB / 422.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3488, allocations: 13.56 kB / 422.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3488, allocations: 8 kB / 422.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009113/0.3497, allocations: 400.8 kB / 423 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.3505, allocations: 217.8 kB / 423.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006907/0.3575, allocations: 6.519 MB / 429.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3585, allocations: 142.8 kB / 429.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.3586, allocations: 48 kB / 429.9 MB, free: 2.906 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.001429/0.36, allocations: 0.868 MB / 430.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.3603, allocations: 146.2 kB / 430.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.363, allocations: 1.643 MB / 432.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.363, allocations: 16 kB / 432.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.363, allocations: 8 kB / 432.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.363, allocations: 11.97 kB / 432.6 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006018/0.3691, allocations: 3.906 MB / 436.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3691, allocations: 4 kB / 436.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.3697, allocations: 136.2 kB / 436.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/0.3705, allocations: 399.8 kB / 437 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.3706, allocations: 31.98 kB / 437 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/0.3775, allocations: 6.507 MB / 443.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3775, allocations: 7.938 kB / 443.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.3813, allocations: 2.478 MB / 446 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.3818, allocations: 235.3 kB / 446.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.382, allocations: 27.98 kB / 446.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/0.3828, allocations: 91.91 kB / 446.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.383, allocations: 107.5 kB / 446.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.3831, allocations: 31.98 kB / 446.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.3845, allocations: 0.9591 MB / 447.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3845, allocations: 0 / 447.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001921/0.3865, allocations: 0.6688 MB / 448.1 MB, free: 348 kB / 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.0002724/0.3867, allocations: 153.8 kB / 448.3 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.3896, allocations: 1.784 MB / 450.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.3896, allocations: 4 kB / 450.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.3913, allocations: 1.123 MB / 451.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.3927, allocations: 314.9 kB / 451.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.3995, allocations: 4.55 MB / 456.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.4013, allocations: 2.172 MB / 458.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009823/0.4022, allocations: 346.9 kB / 458.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.4025, allocations: 87.42 kB / 458.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of SimCode: time 2.245e-06/0.4025, allocations: 0 / 458.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of Templates: time 0.03226/0.4348, allocations: 20.42 MB / 479.1 MB, free: 1.59 MB / 382.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 -s gbode -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