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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2736, allocations: 50.55 MB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009651/0.2833, allocations: 7.843 MB / 416.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005132/0.2884, allocations: 2.491 MB / 419.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.2893, allocations: 59.75 kB / 419.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.2904, allocations: 444.9 kB / 419.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.2927, allocations: 0.8547 MB / 420.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009178/0.2937, allocations: 402.7 kB / 420.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.2975, allocations: 3.254 MB / 424.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.3007, allocations: 2.891 MB / 427 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.3026, allocations: 1.417 MB / 428.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.3052, allocations: 1.693 MB / 430.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005986/0.3058, allocations: 363.9 kB / 430.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3069, allocations: 495.9 kB / 431 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008744/0.3078, allocations: 0.9076 MB / 431.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.3097, allocations: 1.614 MB / 433.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.315, allocations: 4.709 MB / 438.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.315, allocations: 0 / 438.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.315, allocations: 0 / 438.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.3151, allocations: 0 / 438.2 MB, free: 3.879 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.009092/0.3242, allocations: 3.727 MB / 442 MB, free: 88 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3243, allocations: 12.03 kB / 442 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007344/0.325, allocations: 441 kB / 442.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.3292, allocations: 0.7406 MB / 443.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.3326, allocations: 1.851 MB / 445 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.3328, allocations: 197.7 kB / 445.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.3333, allocations: 271.9 kB / 445.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006206/0.3395, allocations: 3.626 MB / 449.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.3396, allocations: 0 / 449.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.3398, allocations: 108 kB / 449.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.34, allocations: 105.4 kB / 449.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005509/0.3455, allocations: 3.105 MB / 452.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.362, allocations: 10.28 MB / 462.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005485/0.3675, allocations: 4.572 MB / 467.2 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.369, allocations: 0.9574 MB / 468.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00404/0.3731, allocations: 2.643 MB / 470.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.3731, allocations: 47.44 kB / 470.9 MB, free: 1.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.669e-06/0.3732, allocations: 0 / 470.9 MB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006433/0.3796, allocations: 2.673 MB / 473.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.3797, allocations: 89.92 kB / 473.6 MB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.3818, allocations: 1.407 MB / 475.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3819, allocations: 41.7 kB / 475.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008985/0.3828, allocations: 1.21 MB / 476.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3832, allocations: 380.8 kB / 476.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.3835, allocations: 222.8 kB / 476.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3837, allocations: 361.9 kB / 477.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/0.3847, allocations: 0.5647 MB / 477.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.3859, allocations: 0.8491 MB / 478.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.3881, allocations: 1.453 MB / 480.1 MB, free: 8.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3881, allocations: 8 kB / 480.1 MB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003521/0.3916, allocations: 1.973 MB / 482.1 MB, free: 6.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3917, allocations: 8 kB / 482.1 MB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3917, allocations: 8 kB / 482.1 MB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.3928, allocations: 400.3 kB / 482.5 MB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.3936, allocations: 215.7 kB / 482.7 MB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/0.4017, allocations: 6.531 MB / 489.2 MB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4027, allocations: 139.1 kB / 489.4 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/0.4028, allocations: 51.92 kB / 489.4 MB, free: 14.68 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.001479/0.4043, allocations: 0.8799 MB / 490.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.4046, allocations: 147.1 kB / 490.5 MB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.4077, allocations: 1.648 MB / 492.1 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4077, allocations: 12 kB / 492.1 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.4077, allocations: 4 kB / 492.1 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.4077, allocations: 11.92 kB / 492.1 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.4141, allocations: 3.93 MB / 496.1 MB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4141, allocations: 0 / 496.1 MB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.4147, allocations: 140 kB / 496.2 MB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/0.4157, allocations: 397.3 kB / 496.6 MB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.4158, allocations: 31.98 kB / 496.6 MB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/0.4237, allocations: 6.517 MB / 0.4913 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4237, allocations: 4 kB / 0.4913 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.4279, allocations: 2.494 MB / 0.4938 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.4283, allocations: 259.9 kB / 0.494 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4285, allocations: 24 kB / 0.494 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/0.4293, allocations: 87.84 kB / 0.4941 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.4295, allocations: 96.67 kB / 0.4942 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.4296, allocations: 35.98 kB / 0.4943 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00143/0.431, allocations: 0.9795 MB / 0.4952 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.431, allocations: 0 / 0.4952 GB, free: 12.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001943/0.433, allocations: 0.6891 MB / 0.4959 GB, free: 11.86 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.004448/0.4375, allocations: 3.099 MB / 0.4989 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003185/0.4407, allocations: 1.788 MB / 0.5007 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4407, allocations: 0 / 0.5007 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.4426, allocations: 1.138 MB / 0.5018 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.4443, allocations: 308.5 kB / 0.5021 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/0.4727, allocations: 16.06 MB / 0.5178 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/0.4754, allocations: 2.188 MB / 0.5199 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009768/0.4764, allocations: 343 kB / 0.5202 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.4776, allocations: 0.882 MB / 0.5211 GB, free: 1.434 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4777, allocations: 0 / 0.5211 GB, free: 1.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/0.7972, allocations: 38.8 MB / 0.559 GB, free: 115.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.25, allocations: 5.594 kB / 0.559 GB, free: 115.9 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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