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.001081/0.001081, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2339, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008077/0.242, allocations: 7.855 MB / 417.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.2465, allocations: 2.472 MB / 419.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000873/0.2474, allocations: 59.75 kB / 419.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009678/0.2485, allocations: 444.9 kB / 420.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.2507, allocations: 0.8469 MB / 420.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.2516, allocations: 406.8 kB / 421.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003406/0.255, allocations: 3.242 MB / 424.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.2577, allocations: 2.899 MB / 427.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.2595, allocations: 1.417 MB / 428.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.2619, allocations: 1.697 MB / 430.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006544/0.2625, allocations: 360 kB / 430.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.2638, allocations: 495.8 kB / 431.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007796/0.2645, allocations: 0.9037 MB / 432.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.2664, allocations: 1.614 MB / 433.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004824/0.2712, allocations: 4.714 MB / 438.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2712, allocations: 0 / 438.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2713, allocations: 0 / 438.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.2714, allocations: 0 / 438.6 MB, free: 4.027 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.007628/0.279, allocations: 3.725 MB / 442.4 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.279, allocations: 12.03 kB / 442.4 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/0.2829, allocations: 0.764 MB / 443.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.2857, allocations: 1.855 MB / 445 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2858, allocations: 197.7 kB / 445.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.2861, allocations: 260.1 kB / 445.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005372/0.2915, allocations: 3.614 MB / 449 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.2916, allocations: 0 / 449 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.2918, allocations: 108 kB / 449.2 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-05/0.2919, allocations: 113.3 kB / 449.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.2966, allocations: 3.093 MB / 452.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.3102, allocations: 10.26 MB / 462.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004444/0.3147, allocations: 4.568 MB / 467.2 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.316, allocations: 0.9535 MB / 468.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00354/0.3195, allocations: 2.639 MB / 470.8 MB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3196, allocations: 47.38 kB / 470.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.776e-06/0.3196, allocations: 0 / 470.8 MB, free: 2.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005874/0.3255, allocations: 2.657 MB / 473.5 MB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3256, allocations: 93.98 kB / 473.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.3274, allocations: 1.4 MB / 475 MB, free: 14.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.3274, allocations: 53.69 kB / 475 MB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/0.3282, allocations: 1.21 MB / 476.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.3285, allocations: 376.8 kB / 476.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.3288, allocations: 218.9 kB / 476.8 MB, free: 12.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3289, allocations: 353.9 kB / 477.2 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008992/0.3298, allocations: 0.5647 MB / 477.7 MB, free: 11.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.3309, allocations: 0.8491 MB / 478.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.3328, allocations: 1.461 MB / 480 MB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3329, allocations: 0 / 480 MB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003091/0.336, allocations: 1.969 MB / 482 MB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.336, allocations: 8 kB / 482 MB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.336, allocations: 8 kB / 482 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/0.337, allocations: 401.2 kB / 482.4 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.3378, allocations: 215.6 kB / 482.6 MB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.3445, allocations: 6.534 MB / 489.2 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.3455, allocations: 147 kB / 489.3 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.3457, allocations: 47.98 kB / 489.4 MB, free: 15.33 MB / 414.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.001326/0.347, allocations: 0.8759 MB / 490.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.3473, allocations: 143.1 kB / 490.4 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.3502, allocations: 1.652 MB / 492 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.3502, allocations: 12 kB / 492 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.3502, allocations: 8 kB / 492 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.3503, allocations: 7.984 kB / 492 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.3566, allocations: 3.918 MB / 496 MB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3566, allocations: 4 kB / 496 MB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.3572, allocations: 131.8 kB / 496.1 MB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/0.3581, allocations: 393.6 kB / 496.5 MB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.3582, allocations: 27.98 kB / 496.5 MB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/0.3651, allocations: 6.53 MB / 0.4912 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3652, allocations: 8.047 kB / 0.4913 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.3689, allocations: 2.49 MB / 0.4937 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.3694, allocations: 251.9 kB / 0.4939 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.3696, allocations: 31.98 kB / 0.494 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.3704, allocations: 79.92 kB / 0.494 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.3707, allocations: 104.6 kB / 0.4941 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.3707, allocations: 31.98 kB / 0.4942 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.3722, allocations: 0.9834 MB / 0.4951 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3722, allocations: 0 / 0.4951 GB, free: 13.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001982/0.3742, allocations: 0.6814 MB / 0.4958 GB, free: 12.52 MB / 430.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.0003424/0.3746, allocations: 158.9 kB / 0.4959 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.3776, allocations: 1.788 MB / 0.4977 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3776, allocations: 0 / 0.4977 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.3794, allocations: 1.126 MB / 0.4988 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.3811, allocations: 320.3 kB / 0.4991 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/0.3889, allocations: 4.648 MB / 0.5036 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.3911, allocations: 2.188 MB / 0.5058 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.3922, allocations: 343 kB / 0.5061 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.3925, allocations: 87.42 kB / 0.5062 GB, free: 1.719 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3925, allocations: 0 / 0.5062 GB, free: 1.719 MB / 430.1 MB Notification: Performance of Templates: time 0.03562/0.4281, allocations: 20.9 MB / 0.5266 GB, free: 13.01 MB / 462.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