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.001121/0.001121, allocations: 115.1 kB / 17.07 MB, free: 5.973 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.001132/0.001133, allocations: 200 kB / 18.01 MB, free: 5.055 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 47.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2634, allocations: 49.44 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008616/0.2721, allocations: 7.257 MB / 408 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.2763, allocations: 2.184 MB / 410.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2774, allocations: 51.81 kB / 410.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.2787, allocations: 456.9 kB / 410.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.2814, allocations: 0.8937 MB / 411.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.2825, allocations: 371.9 kB / 411.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003671/0.2861, allocations: 3.149 MB / 415.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.289, allocations: 2.884 MB / 418 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.2908, allocations: 1.421 MB / 419.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.2927, allocations: 1.689 MB / 421.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.2931, allocations: 363.9 kB / 421.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007882/0.2939, allocations: 479.9 kB / 421.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000732/0.2947, allocations: 0.9076 MB / 422.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.2963, allocations: 1.602 MB / 424.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003999/0.3003, allocations: 4.677 MB / 429.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3003, allocations: 4 kB / 429.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3003, allocations: 0 / 429.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.012e-05/0.3004, allocations: 0 / 429.1 MB, free: 12.32 MB / 350.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.007729/0.3081, allocations: 3.613 MB / 432.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3082, allocations: 12.03 kB / 432.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/0.3118, allocations: 0.6921 MB / 433.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.3147, allocations: 1.795 MB / 435.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3149, allocations: 197.7 kB / 435.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.3153, allocations: 268 kB / 435.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.3211, allocations: 3.622 MB / 439.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/0.3212, allocations: 0 / 439.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.3215, allocations: 108 kB / 439.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.049e-05/0.3216, allocations: 101.4 kB / 439.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.3264, allocations: 3.093 MB / 442.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.3411, allocations: 10.23 MB / 452.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004852/0.346, allocations: 4.561 MB / 457.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3474, allocations: 0.9454 MB / 458.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00353/0.3509, allocations: 2.405 MB / 460.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.351, allocations: 51.44 kB / 460.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.394e-06/0.351, allocations: 0 / 460.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005993/0.357, allocations: 2.649 MB / 463.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.357, allocations: 85.98 kB / 463.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.3588, allocations: 1.374 MB / 464.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.3589, allocations: 45.7 kB / 464.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007488/0.3597, allocations: 1.168 MB / 466.1 MB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.3599, allocations: 354.8 kB / 466.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.3603, allocations: 218.8 kB / 466.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3604, allocations: 353.9 kB / 467 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009018/0.3613, allocations: 0.5608 MB / 467.5 MB, free: 4.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.3624, allocations: 0.8452 MB / 468.4 MB, free: 3.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.3644, allocations: 1.461 MB / 469.8 MB, free: 1.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3644, allocations: 4 kB / 469.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003132/0.3676, allocations: 1.964 MB / 471.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3676, allocations: 8 kB / 471.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3676, allocations: 8.156 kB / 471.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009159/0.3685, allocations: 407.4 kB / 472.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.3694, allocations: 211.7 kB / 472.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00737/0.3767, allocations: 6.527 MB / 479 MB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.3777, allocations: 150.6 kB / 479.1 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.3778, allocations: 44 kB / 479.2 MB, free: 8.309 MB / 398.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.001433/0.3793, allocations: 0.8681 MB / 480 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.3795, allocations: 138.4 kB / 480.2 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.3824, allocations: 1.648 MB / 481.8 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3825, allocations: 8 kB / 481.8 MB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3825, allocations: 8 kB / 481.8 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3825, allocations: 7.969 kB / 481.8 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005815/0.3883, allocations: 3.918 MB / 485.7 MB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3883, allocations: 0 / 485.7 MB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.3889, allocations: 135.8 kB / 485.9 MB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008578/0.3898, allocations: 385.4 kB / 486.3 MB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/0.3899, allocations: 31.98 kB / 486.3 MB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/0.397, allocations: 6.518 MB / 492.8 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.397, allocations: 7.938 kB / 492.8 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.4009, allocations: 2.481 MB / 495.3 MB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.4013, allocations: 231.3 kB / 495.5 MB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.4015, allocations: 31.98 kB / 495.6 MB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.4023, allocations: 91.91 kB / 495.6 MB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.4025, allocations: 92.67 kB / 495.7 MB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.4026, allocations: 35.98 kB / 495.8 MB, free: 7.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.404, allocations: 0.9591 MB / 496.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.404, allocations: 4 kB / 496.7 MB, free: 6.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001974/0.406, allocations: 0.6687 MB / 497.4 MB, free: 5.59 MB / 414.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.0003296/0.4064, allocations: 159 kB / 497.6 MB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.4093, allocations: 1.789 MB / 499.3 MB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4094, allocations: 4.188 kB / 499.3 MB, free: 3.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.4111, allocations: 1.125 MB / 0.4887 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.4126, allocations: 308.4 kB / 0.489 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.4194, allocations: 4.55 MB / 0.4935 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/0.4211, allocations: 2.18 MB / 0.4956 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008901/0.422, allocations: 343 kB / 0.4959 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.4222, allocations: 83.42 kB / 0.496 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4222, allocations: 4 kB / 0.496 GB, free: 10.91 MB / 430.1 MB Notification: Performance of Templates: time 0.03593/0.4582, allocations: 20.8 MB / 0.5163 GB, free: 6.32 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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