Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 105.3 kB / 17.58 MB, free: 5.445 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.001483/0.001483, allocations: 191.9 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 51.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08374, allocations: 46.64 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009743/0.09352, allocations: 7.199 MB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.09893, allocations: 2.232 MB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1003, allocations: 47.81 kB / 336.9 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.1017, allocations: 445 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.1045, allocations: 0.8703 MB / 338.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1057, allocations: 379.2 kB / 338.5 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003914/0.1096, allocations: 3.117 MB / 341.7 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003622/0.1133, allocations: 2.859 MB / 344.5 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.115, allocations: 1.402 MB / 345.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.1174, allocations: 1.689 MB / 347.6 MB, free: 12 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009679/0.1184, allocations: 360 kB / 348 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.12, allocations: 483.8 kB / 348.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.1212, allocations: 0.9037 MB / 349.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.1238, allocations: 1.602 MB / 350.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.1282, allocations: 4.611 MB / 355.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1283, allocations: 0 / 355.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1283, allocations: 0 / 355.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.452e-05/0.1284, allocations: 0 / 355.5 MB, free: 8.047 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.007635/0.136, allocations: 3.629 MB / 359.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1361, allocations: 12.03 kB / 359.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005835/0.1367, allocations: 433.1 kB / 359.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.1401, allocations: 0.6882 MB / 360.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.1428, allocations: 1.679 MB / 362 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.1429, allocations: 197.7 kB / 362.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.1433, allocations: 267.8 kB / 362.4 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/0.1491, allocations: 3.619 MB / 366 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.1491, allocations: 0 / 366 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.1494, allocations: 104 kB / 366.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.1495, allocations: 113.4 kB / 366.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005339/0.1549, allocations: 3.089 MB / 369.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.155/0.3099, allocations: 10.51 MB / 379.9 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.3144, allocations: 4.673 MB / 384.5 MB, free: 44.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.3157, allocations: 0.9516 MB / 385.5 MB, free: 44.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00388/0.3196, allocations: 2.446 MB / 387.9 MB, free: 43.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3196, allocations: 51.55 kB / 388 MB, free: 43.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.917e-06/0.3197, allocations: 0 / 388 MB, free: 43.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006124/0.3258, allocations: 2.695 MB / 390.7 MB, free: 42.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3258, allocations: 89.5 kB / 390.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.3276, allocations: 1.378 MB / 392.1 MB, free: 41.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.3277, allocations: 43.14 kB / 392.2 MB, free: 41.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.3283, allocations: 1.169 MB / 393.4 MB, free: 41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.3285, allocations: 364.3 kB / 393.7 MB, free: 40.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.3289, allocations: 222.2 kB / 393.9 MB, free: 40.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.3289, allocations: 358.3 kB / 394.3 MB, free: 40.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/0.3298, allocations: 0.5781 MB / 394.9 MB, free: 40.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008268/0.3306, allocations: 0.8571 MB / 395.7 MB, free: 39.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.3323, allocations: 1.49 MB / 397.2 MB, free: 38.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.3323, allocations: 3.438 kB / 397.2 MB, free: 38.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002884/0.3352, allocations: 1.989 MB / 399.2 MB, free: 37.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3352, allocations: 9.719 kB / 399.2 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3353, allocations: 15.05 kB / 399.2 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.3361, allocations: 408 kB / 399.6 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.3368, allocations: 226.9 kB / 399.8 MB, free: 37.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/0.3428, allocations: 6.643 MB / 406.5 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.3438, allocations: 146 kB / 406.6 MB, free: 32.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.3438, allocations: 45.91 kB / 406.7 MB, free: 32.59 MB / 318.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.001349/0.3452, allocations: 0.8676 MB / 407.5 MB, free: 32.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.3455, allocations: 137.4 kB / 407.7 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.348, allocations: 1.671 MB / 409.3 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3481, allocations: 10.94 kB / 409.4 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3481, allocations: 8.75 kB / 409.4 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3481, allocations: 3.984 kB / 409.4 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/0.353, allocations: 3.993 MB / 413.4 MB, free: 27.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.353, allocations: 4 kB / 413.4 MB, free: 27.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.3535, allocations: 139.6 kB / 413.5 MB, free: 27.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000737/0.3543, allocations: 405.4 kB / 413.9 MB, free: 27.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.3543, allocations: 35.98 kB / 413.9 MB, free: 26.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005358/0.3597, allocations: 6.633 MB / 420.6 MB, free: 20.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3597, allocations: 4 kB / 420.6 MB, free: 20.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.3628, allocations: 2.508 MB / 423.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.3631, allocations: 247.2 kB / 423.3 MB, free: 17.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.3633, allocations: 28.67 kB / 423.3 MB, free: 17.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.364, allocations: 95.91 kB / 423.4 MB, free: 17.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.3642, allocations: 92.67 kB / 423.5 MB, free: 17.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.3643, allocations: 39.81 kB / 423.6 MB, free: 17.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009746/0.3653, allocations: 0.963 MB / 424.5 MB, free: 16.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3653, allocations: 4 kB / 424.5 MB, free: 16.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001543/0.3668, allocations: 0.6688 MB / 425.2 MB, free: 15.37 MB / 318.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.003161/0.37, allocations: 3.121 MB / 428.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.3728, allocations: 1.965 MB / 430.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3728, allocations: 1.188 kB / 430.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.3743, allocations: 1.14 MB / 431.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.3757, allocations: 313.9 kB / 431.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.3962, allocations: 17.13 MB / 448.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.398, allocations: 2.176 MB / 451 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.3991, allocations: 347 kB / 451.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009836/0.4001, allocations: 0.8703 MB / 452.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4001, allocations: 0 / 452.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07438/0.4745, allocations: 37.97 MB / 490.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/10.1, allocations: 7.797 kB / 490.2 MB, free: 13.33 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches