Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 109.3 kB / 17.73 MB, free: 5.34 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.001114/0.001114, allocations: 192.2 kB / 18.67 MB, free: 4.406 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.448/1.448, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001165/0.001165, allocations: 47.94 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1138, allocations: 46.61 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2657/0.3796, allocations: 16.54 MB / 391.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3921, allocations: 4.665 MB / 396.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.3957, allocations: 112 kB / 396.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01675/0.4125, allocations: 7.166 MB / 403.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009241/0.4217, allocations: 1.866 MB / 405.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.4264, allocations: 1.628 MB / 407.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.4412, allocations: 9.398 MB / 416.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03044/0.4717, allocations: 20.83 MB / 437.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009557/0.4813, allocations: 5.241 MB / 442.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.4929, allocations: 5.856 MB / 448.4 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005464/0.4984, allocations: 1.367 MB / 449.8 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008607/0.507, allocations: 1.648 MB / 451.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006005/0.5131, allocations: 2.782 MB / 454.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01403/0.5271, allocations: 5.362 MB / 459.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02905/0.5562, allocations: 18.24 MB / 477.8 MB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.5563, allocations: 0 / 477.8 MB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5563, allocations: 0 / 477.8 MB, free: 8.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008065/0.5571, allocations: 0 / 477.8 MB, free: 8.852 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.045/0.6021, allocations: 12.32 MB / 490.2 MB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6022, allocations: 8.031 kB / 490.2 MB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.036/0.6382, allocations: 6.277 MB / 496.4 MB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.6527, allocations: 5.193 MB / 0.4899 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006381/0.6533, allocations: 0.6743 MB / 0.4905 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004211/0.6576, allocations: 0.8711 MB / 0.4914 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0329/0.6905, allocations: 14.71 MB / 0.5058 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004038/0.6909, allocations: 15.94 kB / 0.5058 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00195/0.6929, allocations: 376 kB / 0.5061 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005466/0.6935, allocations: 0.4914 MB / 0.5066 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/0.7215, allocations: 13.52 MB / 0.5198 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5706/1.292, allocations: 44.18 MB / 0.5629 GB, free: 121.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/1.306, allocations: 11.64 MB / 0.5743 GB, free: 114.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005605/1.311, allocations: 3.165 MB / 0.5774 GB, free: 114.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/1.312, allocations: 175.6 kB / 0.5776 GB, free: 114.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/1.312, allocations: 78.22 kB / 0.5777 GB, free: 114.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.572e-06/1.312, allocations: 0 / 0.5777 GB, free: 114.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01979/1.332, allocations: 9.612 MB / 0.587 GB, free: 112.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.332, allocations: 126.1 kB / 0.5872 GB, free: 112.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.336, allocations: 3.16 MB / 0.5902 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.336, allocations: 89.45 kB / 0.5903 GB, free: 111.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.338, allocations: 3.832 MB / 0.5941 GB, free: 108.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.339, allocations: 1.463 MB / 0.5955 GB, free: 107.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/1.341, allocations: 1.13 MB / 0.5966 GB, free: 107.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/1.341, allocations: 312.7 kB / 0.5969 GB, free: 107.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/1.344, allocations: 2.835 MB / 0.5997 GB, free: 106.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/1.349, allocations: 4.898 MB / 0.6045 GB, free: 102.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00788/1.356, allocations: 8.259 MB / 0.6125 GB, free: 97.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-05/1.357, allocations: 20.31 kB / 0.6125 GB, free: 97.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01276/1.369, allocations: 9.118 MB / 0.6214 GB, free: 92.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/1.369, allocations: 32 kB / 0.6215 GB, free: 92.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.066e-05/1.369, allocations: 68 kB / 0.6215 GB, free: 92.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/1.372, allocations: 1.143 MB / 0.6227 GB, free: 90.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003821/1.376, allocations: 1.297 MB / 0.6239 GB, free: 89.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.389, allocations: 10.83 MB / 0.6345 GB, free: 78.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006264/1.395, allocations: 0.7531 MB / 0.6352 GB, free: 77.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/1.397, allocations: 280 kB / 0.6355 GB, free: 77.55 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007299/1.404, allocations: 3.428 MB / 0.6388 GB, free: 74.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.405, allocations: 365.6 kB / 0.6392 GB, free: 73.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.418, allocations: 6.913 MB / 0.6459 GB, free: 66.81 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008169/1.426, allocations: 5.737 MB / 0.6515 GB, free: 61.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.476e-05/1.426, allocations: 8 kB / 0.6516 GB, free: 61.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/1.426, allocations: 23.92 kB / 0.6516 GB, free: 61.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02955/1.456, allocations: 15.23 MB / 0.6665 GB, free: 45.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/1.456, allocations: 15.81 kB / 0.6665 GB, free: 45.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/1.459, allocations: 0.7918 MB / 0.6672 GB, free: 44.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/1.462, allocations: 1.064 MB / 0.6683 GB, free: 43.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006595/1.463, allocations: 108 kB / 0.6684 GB, free: 43.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.475, allocations: 10.57 MB / 0.6787 GB, free: 32.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/1.475, allocations: 22.44 kB / 0.6787 GB, free: 32.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/1.492, allocations: 10.72 MB / 0.6892 GB, free: 21.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/1.495, allocations: 1.001 MB / 0.6902 GB, free: 20.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.496, allocations: 104 kB / 0.6903 GB, free: 20.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.499, allocations: 271.7 kB / 0.6905 GB, free: 20.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009021/1.5, allocations: 343.2 kB / 0.6909 GB, free: 20.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004723/1.5, allocations: 140.9 kB / 0.691 GB, free: 20 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003853/1.504, allocations: 2.125 MB / 0.6931 GB, free: 17.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.504, allocations: 0 / 0.6931 GB, free: 17.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008607/1.513, allocations: 2.258 MB / 0.6953 GB, free: 15.61 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009524/1.514, allocations: 290.9 kB / 0.6956 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.526, allocations: 7.459 MB / 0.7028 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.802e-05/1.526, allocations: 0 / 0.7028 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005862/1.532, allocations: 3.66 MB / 0.7064 GB, free: 4.164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006772/1.539, allocations: 0.7968 MB / 0.7072 GB, free: 3.379 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/1.577, allocations: 16.18 MB / 0.723 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/1.587, allocations: 5.93 MB / 0.7288 GB, free: 13.01 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00789/1.595, allocations: 2.161 MB / 0.7309 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.597, allocations: 319.4 kB / 0.7312 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of SimCode: time 3.456e-06/1.597, allocations: 0 / 0.7312 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of Templates: time 0.3496/1.947, allocations: 58.56 MB / 0.7884 GB, free: 136.2 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches