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.001304/0.001304, allocations: 112.7 kB / 17.73 MB, free: 5.359 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.001412/0.001412, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.515/1.515, 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.001113/0.001113, allocations: 47.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2865/0.4044, allocations: 16.53 MB / 391.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.4179, allocations: 4.656 MB / 396.3 MB, free: 320 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005384/0.4233, allocations: 116 kB / 396.5 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0189/0.4423, allocations: 7.167 MB / 403.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.4542, allocations: 1.865 MB / 405.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006161/0.4604, allocations: 1.615 MB / 407.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01799/0.4784, allocations: 9.404 MB / 416.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0419/0.5204, allocations: 20.84 MB / 437.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.5318, allocations: 5.249 MB / 442.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.5444, allocations: 5.86 MB / 448.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005187/0.5496, allocations: 1.363 MB / 449.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008293/0.558, allocations: 1.648 MB / 451.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00591/0.5639, allocations: 2.79 MB / 454.3 MB, free: 388 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01388/0.5778, allocations: 5.362 MB / 459.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02591/0.6038, allocations: 18.19 MB / 477.8 MB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6038, allocations: 4 kB / 477.8 MB, free: 8.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6038, allocations: 0 / 477.8 MB, free: 8.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007499/0.6046, allocations: 0 / 477.8 MB, free: 8.758 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.04282/0.6474, allocations: 12.13 MB / 489.9 MB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.6475, allocations: 8.031 kB / 490 MB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03596/0.6835, allocations: 6.237 MB / 496.2 MB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.6989, allocations: 5.164 MB / 0.4896 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008318/0.6997, allocations: 0.6742 MB / 0.4903 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005235/0.705, allocations: 0.8788 MB / 0.4911 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/0.7465, allocations: 14.71 MB / 0.5055 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.7468, allocations: 11.89 kB / 0.5055 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002121/0.7489, allocations: 376 kB / 0.5059 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004825/0.7494, allocations: 491.3 kB / 0.5063 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02754/0.777, allocations: 13.53 MB / 0.5195 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.53/1.307, allocations: 44.05 MB / 0.5626 GB, free: 120.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/1.32, allocations: 11.64 MB / 0.5739 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005711/1.326, allocations: 3.171 MB / 0.577 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/1.326, allocations: 171.8 kB / 0.5772 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/1.326, allocations: 76.72 kB / 0.5773 GB, free: 113.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 7.534e-06/1.326, allocations: 0 / 0.5773 GB, free: 113.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02188/1.348, allocations: 9.591 MB / 0.5866 GB, free: 112.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/1.348, allocations: 124.9 kB / 0.5867 GB, free: 112.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/1.353, allocations: 3.161 MB / 0.5898 GB, free: 111.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008395/1.354, allocations: 89.14 kB / 0.5899 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/1.356, allocations: 3.696 MB / 0.5935 GB, free: 108.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.358, allocations: 1.392 MB / 0.5949 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/1.359, allocations: 1.131 MB / 0.596 GB, free: 106.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/1.359, allocations: 305.1 kB / 0.5963 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003628/1.363, allocations: 2.834 MB / 0.599 GB, free: 105.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00433/1.367, allocations: 4.898 MB / 0.6038 GB, free: 101.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008474/1.376, allocations: 8.255 MB / 0.6119 GB, free: 96.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.411e-05/1.376, allocations: 23.47 kB / 0.6119 GB, free: 96.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01478/1.391, allocations: 9.104 MB / 0.6208 GB, free: 91.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/1.391, allocations: 32.03 kB / 0.6208 GB, free: 91.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.391, allocations: 65.97 kB / 0.6209 GB, free: 91.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/1.394, allocations: 1.154 MB / 0.622 GB, free: 90.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/1.398, allocations: 1.289 MB / 0.6233 GB, free: 89.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.41, allocations: 10.8 MB / 0.6338 GB, free: 78.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/1.415, allocations: 0.7433 MB / 0.6346 GB, free: 77.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.416, allocations: 276 kB / 0.6348 GB, free: 77.26 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.006707/1.423, allocations: 3.435 MB / 0.6382 GB, free: 73.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.424, allocations: 347.7 kB / 0.6385 GB, free: 73.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.435, allocations: 6.897 MB / 0.6452 GB, free: 66.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007279/1.442, allocations: 5.745 MB / 0.6509 GB, free: 60.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/1.443, allocations: 11.98 kB / 0.6509 GB, free: 60.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-05/1.443, allocations: 27.91 kB / 0.6509 GB, free: 60.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/1.468, allocations: 15.21 MB / 0.6657 GB, free: 45.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.468, allocations: 12 kB / 0.6658 GB, free: 45.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/1.471, allocations: 0.7956 MB / 0.6665 GB, free: 44.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/1.474, allocations: 1.06 MB / 0.6676 GB, free: 43.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003951/1.474, allocations: 112 kB / 0.6677 GB, free: 43.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/1.485, allocations: 10.57 MB / 0.678 GB, free: 32.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/1.485, allocations: 19.94 kB / 0.678 GB, free: 32.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.499, allocations: 10.69 MB / 0.6885 GB, free: 21.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.501, allocations: 0.9835 MB / 0.6894 GB, free: 20.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/1.502, allocations: 95.98 kB / 0.6895 GB, free: 20.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.504, allocations: 275.8 kB / 0.6898 GB, free: 20.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/1.504, allocations: 339.2 kB / 0.6901 GB, free: 19.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.505, allocations: 144 kB / 0.6902 GB, free: 19.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002572/1.507, allocations: 2.125 MB / 0.6923 GB, free: 17.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.507, allocations: 0 / 0.6923 GB, free: 17.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006068/1.513, allocations: 2.232 MB / 0.6945 GB, free: 15.42 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.0006957/1.514, allocations: 288.6 kB / 0.6948 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009936/1.524, allocations: 7.453 MB / 0.702 GB, free: 7.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.524, allocations: 4.125 kB / 0.702 GB, free: 7.664 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00519/1.529, allocations: 3.653 MB / 0.7056 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/1.533, allocations: 0.8 MB / 0.7064 GB, free: 3.211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/1.56, allocations: 15.95 MB / 0.722 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00653/1.566, allocations: 5.93 MB / 0.7278 GB, free: 13.09 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005195/1.572, allocations: 2.158 MB / 0.7299 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/1.573, allocations: 319.4 kB / 0.7302 GB, free: 10.61 MB / 0.4982 GB Notification: Performance of SimCode: time 1.884e-06/1.573, allocations: 0 / 0.7302 GB, free: 10.61 MB / 0.4982 GB Notification: Performance of Templates: time 0.3282/1.901, allocations: 58.56 MB / 0.7874 GB, free: 136.1 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