Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.78 kB / 306.4 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09199, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009372/0.1014, allocations: 7.783 MB / 364.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.1063, allocations: 2.437 MB / 367.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1075, allocations: 55.75 kB / 367.3 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.109, allocations: 382 kB / 367.6 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.1119, allocations: 0.7738 MB / 368.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1131, allocations: 355.5 kB / 368.7 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1616/0.2747, allocations: 3.233 MB / 372 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004602/0.2793, allocations: 2.901 MB / 374.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.2818, allocations: 1.425 MB / 376.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.2855, allocations: 1.728 MB / 378 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.2867, allocations: 359.4 kB / 378.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.2891, allocations: 492.2 kB / 378.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.2905, allocations: 0.9062 MB / 379.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.2926, allocations: 1.622 MB / 381.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.297, allocations: 4.654 MB / 386 MB, free: 5.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.297, allocations: 4 kB / 386.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.297, allocations: 1.094 kB / 386.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.656e-05/0.2971, allocations: 0 / 386.1 MB, free: 5.82 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.007357/0.3045, allocations: 3.656 MB / 389.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3045, allocations: 8.906 kB / 389.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/0.3084, allocations: 0.7468 MB / 390.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.3109, allocations: 1.783 MB / 392.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.311, allocations: 196.5 kB / 392.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.3114, allocations: 262 kB / 392.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004977/0.3164, allocations: 3.614 MB / 396.3 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.3164, allocations: 2.438 kB / 396.3 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.3167, allocations: 110.3 kB / 396.4 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/0.3168, allocations: 105.4 kB / 396.5 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.3213, allocations: 3.101 MB / 399.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.3357, allocations: 10.33 MB / 410 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.3402, allocations: 4.563 MB / 414.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.3416, allocations: 0.951 MB / 415.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003678/0.3453, allocations: 2.65 MB / 418.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3453, allocations: 47.44 kB / 418.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.3453, allocations: 0 / 418.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005844/0.3512, allocations: 2.652 MB / 420.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3513, allocations: 89.98 kB / 420.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.353, allocations: 1.392 MB / 422.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.3531, allocations: 53.7 kB / 422.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/0.3538, allocations: 1.174 MB / 423.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.354, allocations: 358.8 kB / 423.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.3543, allocations: 214.8 kB / 424.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3545, allocations: 357.9 kB / 424.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.3553, allocations: 0.5647 MB / 425 MB, free: 4.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3563, allocations: 0.8483 MB / 425.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.3583, allocations: 1.457 MB / 427.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3583, allocations: 0 / 427.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003109/0.3614, allocations: 1.975 MB / 429.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3614, allocations: 12 kB / 429.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3615, allocations: 8 kB / 429.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/0.3624, allocations: 399.6 kB / 429.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.3632, allocations: 218.9 kB / 429.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/0.3701, allocations: 6.521 MB / 436.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.371, allocations: 146.6 kB / 436.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.3711, allocations: 55.94 kB / 436.6 MB, free: 8.074 MB / 350.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.001334/0.3725, allocations: 0.8782 MB / 437.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.3727, allocations: 138.3 kB / 437.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.3755, allocations: 1.649 MB / 439.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.3755, allocations: 8 kB / 439.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3756, allocations: 8 kB / 439.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3756, allocations: 5.766 kB / 439.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.3818, allocations: 3.929 MB / 443.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3819, allocations: 0 / 443.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.3824, allocations: 130.8 kB / 443.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009437/0.3834, allocations: 406.9 kB / 443.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/0.3835, allocations: 27.98 kB / 443.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007135/0.3906, allocations: 6.515 MB / 450.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3906, allocations: 3.938 kB / 450.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/0.3946, allocations: 2.481 MB / 452.8 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.3952, allocations: 251.2 kB / 453 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.3954, allocations: 24 kB / 453.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/0.3961, allocations: 87.91 kB / 453.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.3964, allocations: 104.2 kB / 453.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.3965, allocations: 27.98 kB / 453.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.398, allocations: 0.9834 MB / 454.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.398, allocations: 0 / 454.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002206/0.4002, allocations: 0.6805 MB / 454.9 MB, free: 5.445 MB / 366.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.0003169/0.4005, allocations: 149.8 kB / 455.1 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.4038, allocations: 1.934 MB / 457 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4038, allocations: 0 / 457 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.4056, allocations: 1.127 MB / 458.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.4072, allocations: 310.4 kB / 458.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/0.4156, allocations: 5.767 MB / 464.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.4174, allocations: 2.196 MB / 466.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.4185, allocations: 343 kB / 466.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.4187, allocations: 87.42 kB / 466.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4187, allocations: 0 / 466.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of Templates: time 0.03375/0.4525, allocations: 20.44 MB / 487.3 MB, free: 5.293 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches