Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009112/0.0009111, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007416/0.0007416, allocations: 93.42 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002692, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00493/0.1998, allocations: 6.224 MB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.2028, allocations: 2.078 MB / 382.9 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.2033, allocations: 41.25 kB / 382.9 MB, free: 38.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.2038, allocations: 319.9 kB / 383.2 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.2052, allocations: 0.7461 MB / 384 MB, free: 38.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.2057, allocations: 267.6 kB / 384.2 MB, free: 37.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.2083, allocations: 3.169 MB / 387.4 MB, free: 35.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.2099, allocations: 1.972 MB / 389.4 MB, free: 33.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.2108, allocations: 1.012 MB / 390.4 MB, free: 32.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000987/0.2118, allocations: 1.331 MB / 391.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.212, allocations: 156 kB / 391.9 MB, free: 31.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.2126, allocations: 259.9 kB / 392.1 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.2129, allocations: 0.6423 MB / 392.8 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.2132, allocations: 0.5471 MB / 393.3 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.2153, allocations: 3.725 MB / 397 MB, free: 26.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2153, allocations: 0 / 397 MB, free: 26.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2153, allocations: 0 / 397 MB, free: 26.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-05/0.2154, allocations: 0 / 397 MB, free: 26.29 MB / 298.7 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.00546/0.2208, allocations: 3.149 MB / 400.2 MB, free: 23.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2209, allocations: 12.02 kB / 400.2 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.2239, allocations: 0.6912 MB / 400.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.226, allocations: 1.62 MB / 402.5 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.2261, allocations: 205.3 kB / 402.7 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.2264, allocations: 263.9 kB / 403 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/0.2309, allocations: 3.595 MB / 406.5 MB, free: 16.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.231, allocations: 0 / 406.5 MB, free: 16.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.2312, allocations: 115.9 kB / 406.7 MB, free: 16.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.2313, allocations: 101.4 kB / 406.8 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.2351, allocations: 3.105 MB / 409.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.2465, allocations: 10.56 MB / 420.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.2506, allocations: 4.678 MB / 425.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.2519, allocations: 0.9536 MB / 426.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003321/0.2552, allocations: 2.472 MB / 428.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2553, allocations: 47.38 kB / 428.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.525e-06/0.2553, allocations: 0 / 428.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.006313/0.2616, allocations: 2.798 MB / 431.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2617, allocations: 101.9 kB / 431.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2632, allocations: 1.359 MB / 432.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.2633, allocations: 49.7 kB / 432.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/0.2639, allocations: 1.164 MB / 434 MB, free: 3.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.2642, allocations: 362.8 kB / 434.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.2642, allocations: 20 kB / 434.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2644, allocations: 357.9 kB / 434.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.2652, allocations: 0.5881 MB / 435.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.2663, allocations: 0.8725 MB / 436.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2673, allocations: 0.7226 MB / 436.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.2673, allocations: 7.938 kB / 437 MB, free: 0.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002997/0.2703, allocations: 2.008 MB / 439 MB, free: 14.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2703, allocations: 8 kB / 439 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2704, allocations: 11.98 kB / 439 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.2712, allocations: 408.4 kB / 439.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008036/0.2721, allocations: 223.6 kB / 439.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/0.2785, allocations: 6.077 MB / 445.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.2794, allocations: 150.7 kB / 445.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.2795, allocations: 51.98 kB / 445.9 MB, free: 7.625 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.2807, allocations: 0.8642 MB / 446.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.2809, allocations: 134.4 kB / 446.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.2836, allocations: 1.698 MB / 448.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2837, allocations: 11.98 kB / 448.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2837, allocations: 8 kB / 448.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2837, allocations: 3.984 kB / 448.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.2892, allocations: 4.012 MB / 452.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2892, allocations: 0 / 452.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.2898, allocations: 144 kB / 452.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008451/0.2907, allocations: 393.2 kB / 453.1 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.2908, allocations: 39.97 kB / 453.2 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.297, allocations: 6.077 MB / 459.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.297, allocations: 0 / 459.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.3006, allocations: 2.536 MB / 461.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.3008, allocations: 239.2 kB / 462 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.301, allocations: 35.98 kB / 462 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.3018, allocations: 103.8 kB / 462.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3019, allocations: 96.69 kB / 462.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.302, allocations: 35.98 kB / 462.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.3031, allocations: 0.9513 MB / 463.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3031, allocations: 0 / 463.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001535/0.3047, allocations: 0.6727 MB / 463.9 MB, free: 5.125 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.3049, allocations: 167.1 kB / 464.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002633/0.3076, allocations: 1.827 MB / 465.9 MB, free: 3.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3076, allocations: 4.062 kB / 465.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.3092, allocations: 1.144 MB / 467 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.3105, allocations: 296.7 kB / 467.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.317, allocations: 5.527 MB / 472.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.3185, allocations: 2.124 MB / 475 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.3188, allocations: 91.42 kB / 475.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3188, allocations: 0 / 475.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of Templates: time 0.1863/0.5051, allocations: 52.39 MB / 0.5151 GB, free: 91.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches