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.001535/0.001535, allocations: 114.5 kB / 17.73 MB, free: 5.316 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.001709/0.001709, allocations: 187 kB / 18.66 MB, free: 4.387 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.347/1.347, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001309/0.001308, allocations: 47.94 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08451, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1863/0.2708, allocations: 7.182 MB / 381.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004898/0.2757, allocations: 2.242 MB / 384.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.2776, allocations: 48.47 kB / 384.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.279, allocations: 441.5 kB / 384.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.2817, allocations: 0.875 MB / 385.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.2826, allocations: 382.2 kB / 385.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.2864, allocations: 3.14 MB / 388.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.2897, allocations: 2.861 MB / 391.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.2923, allocations: 1.409 MB / 393.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.2953, allocations: 1.678 MB / 394.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005041/0.2958, allocations: 359.2 kB / 395.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2969, allocations: 486 kB / 395.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007121/0.2976, allocations: 0.9133 MB / 396.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.2991, allocations: 1.604 MB / 398.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.3037, allocations: 4.659 MB / 402.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3038, allocations: 1.219 kB / 402.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3038, allocations: 0 / 402.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.817e-05/0.3039, allocations: 0 / 402.9 MB, free: 15.82 MB / 334.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.008719/0.3126, allocations: 3.62 MB / 406.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3127, allocations: 9.625 kB / 406.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006233/0.3133, allocations: 441.2 kB / 406.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.3169, allocations: 0.6899 MB / 407.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.32, allocations: 1.694 MB / 409.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3202, allocations: 196.9 kB / 409.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.3206, allocations: 264 kB / 409.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/0.3265, allocations: 3.617 MB / 413.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.871e-05/0.3266, allocations: 0 / 413.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.3269, allocations: 108 kB / 413.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.311e-05/0.327, allocations: 105.4 kB / 413.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004771/0.3317, allocations: 3.097 MB / 416.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.3473, allocations: 10.37 MB / 427.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/0.3523, allocations: 4.678 MB / 431.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.3537, allocations: 0.9614 MB / 432.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004188/0.3579, allocations: 2.444 MB / 435.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.358, allocations: 51.44 kB / 435.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.766e-06/0.358, allocations: 0 / 435.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006346/0.3644, allocations: 2.699 MB / 437.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3644, allocations: 93.92 kB / 438 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.3667, allocations: 1.367 MB / 439.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/0.3668, allocations: 45.7 kB / 439.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007938/0.3676, allocations: 1.168 MB / 440.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.3679, allocations: 362.8 kB / 440.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.3683, allocations: 214.8 kB / 441.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3684, allocations: 357.9 kB / 441.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009753/0.3694, allocations: 0.5764 MB / 442.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.3705, allocations: 0.8569 MB / 442.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.3726, allocations: 1.488 MB / 444.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3727, allocations: 4 kB / 444.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003545/0.3762, allocations: 1.999 MB / 446.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3763, allocations: 11.94 kB / 446.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.3763, allocations: 8 kB / 446.4 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3774, allocations: 405.2 kB / 446.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.3782, allocations: 219.6 kB / 447 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008021/0.3863, allocations: 6.654 MB / 453.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3876, allocations: 146.8 kB / 453.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.3879, allocations: 51.98 kB / 453.9 MB, free: 14.8 MB / 382.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.001967/0.3898, allocations: 0.8565 MB / 454.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/0.3904, allocations: 134.4 kB / 454.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.3936, allocations: 1.671 MB / 456.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.3936, allocations: 16 kB / 456.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.3936, allocations: 4 kB / 456.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.3937, allocations: 11.97 kB / 456.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008008/0.4017, allocations: 3.98 MB / 460.6 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4017, allocations: 4 kB / 460.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.4023, allocations: 135.8 kB / 460.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009985/0.4033, allocations: 405.8 kB / 461.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/0.4034, allocations: 35.97 kB / 461.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007611/0.4111, allocations: 6.64 MB / 467.8 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4111, allocations: 0 / 467.8 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.4153, allocations: 2.508 MB / 470.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/0.4159, allocations: 239.3 kB / 470.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.4163, allocations: 35.98 kB / 470.6 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.4174, allocations: 95.83 kB / 470.6 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.4176, allocations: 96.67 kB / 470.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.523e-05/0.4177, allocations: 32 kB / 470.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001708/0.4195, allocations: 0.963 MB / 471.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4195, allocations: 0 / 471.7 MB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002455/0.4219, allocations: 0.6765 MB / 472.4 MB, free: 11.8 MB / 398.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.004582/0.4265, allocations: 3.098 MB / 475.5 MB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.4297, allocations: 1.824 MB / 477.3 MB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4297, allocations: 0 / 477.3 MB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.4316, allocations: 1.138 MB / 478.5 MB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.4337, allocations: 306.9 kB / 478.8 MB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/0.4636, allocations: 16.01 MB / 494.8 MB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/0.4673, allocations: 2.184 MB / 497 MB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.4687, allocations: 343 kB / 497.3 MB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/0.4703, allocations: 0.8664 MB / 498.2 MB, free: 1.414 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4703, allocations: 0 / 498.2 MB, free: 1.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/0.5499, allocations: 38.84 MB / 0.5244 GB, free: 10.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.41, allocations: 15.67 kB / 0.5244 GB, free: 10.45 MB / 462.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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.csv","/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