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.001494/0.001495, allocations: 100.6 kB / 17.93 MB, free: 5.41 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.00175/0.00175, allocations: 193.8 kB / 18.86 MB, free: 4.484 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.338/1.338, allocations: 205.1 MB / 224.7 MB, free: 12.43 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.001348/0.001348, allocations: 47.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 46.63 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01872/0.1212, allocations: 16.25 MB / 343.7 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.133, allocations: 4.604 MB / 348.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/0.1367, allocations: 107.6 kB / 348.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01622/0.153, allocations: 6.803 MB / 355.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007435/0.1605, allocations: 1.688 MB / 356.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.1654, allocations: 1.508 MB / 358.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.1792, allocations: 9.376 MB / 367.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2311/0.4104, allocations: 24.28 MB / 392.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006823/0.4172, allocations: 5.289 MB / 397.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007463/0.4247, allocations: 5.957 MB / 403.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.4278, allocations: 1.358 MB / 404.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004197/0.4321, allocations: 1.64 MB / 406.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003311/0.4354, allocations: 2.807 MB / 409.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005822/0.4412, allocations: 5.359 MB / 414.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4528, allocations: 15.79 MB / 430.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4528, allocations: 0 / 430.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4529, allocations: 3.938 kB / 430.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000441/0.4533, allocations: 0 / 430.3 MB, free: 11.27 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03393/0.4872, allocations: 12.21 MB / 442.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4873, allocations: 8.031 kB / 442.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03377/0.5211, allocations: 6.193 MB / 448.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5317, allocations: 5.15 MB / 453.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007104/0.5325, allocations: 0.6729 MB / 454.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003434/0.5359, allocations: 0.8833 MB / 455.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/0.5715, allocations: 14.74 MB / 470.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003079/0.5718, allocations: 4 kB / 470.1 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002521/0.5743, allocations: 374.8 kB / 470.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005392/0.5749, allocations: 0.4953 MB / 471 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02622/0.6011, allocations: 13.55 MB / 484.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0767/0.6779, allocations: 44.61 MB / 0.5168 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.6918, allocations: 11.72 MB / 0.5282 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005718/0.6976, allocations: 3.233 MB / 0.5314 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.6982, allocations: 180.9 kB / 0.5315 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.669e-05/0.6983, allocations: 83.22 kB / 0.5316 GB, free: 7.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 1.079e-05/0.6983, allocations: 3.984 kB / 0.5316 GB, free: 7.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.3319/1.03, allocations: 9.702 MB / 0.5411 GB, free: 146.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/1.03, allocations: 121 kB / 0.5412 GB, free: 146.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005732/1.036, allocations: 3.157 MB / 0.5443 GB, free: 146 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008303/1.037, allocations: 90.88 kB / 0.5444 GB, free: 146 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.039, allocations: 3.689 MB / 0.548 GB, free: 143.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001942/1.041, allocations: 1.43 MB / 0.5494 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/1.044, allocations: 1.138 MB / 0.5505 GB, free: 142.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/1.044, allocations: 310.2 kB / 0.5508 GB, free: 141.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/1.048, allocations: 2.908 MB / 0.5536 GB, free: 140.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/1.054, allocations: 4.979 MB / 0.5585 GB, free: 137.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009063/1.064, allocations: 8.405 MB / 0.5667 GB, free: 131.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.064, allocations: 19.84 kB / 0.5667 GB, free: 131.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01486/1.079, allocations: 9.235 MB / 0.5757 GB, free: 128.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/1.079, allocations: 38.72 kB / 0.5758 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/1.079, allocations: 69.97 kB / 0.5758 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.082, allocations: 1.125 MB / 0.5769 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/1.086, allocations: 1.299 MB / 0.5782 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.099, allocations: 10.71 MB / 0.5887 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.103, allocations: 0.747 MB / 0.5894 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.104, allocations: 275.6 kB / 0.5896 GB, free: 120.9 MB / 446.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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005835/1.11, allocations: 3.426 MB / 0.593 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008201/1.111, allocations: 355.5 kB / 0.5933 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.121, allocations: 7.045 MB / 0.6002 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007728/1.129, allocations: 5.87 MB / 0.6059 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-05/1.129, allocations: 12 kB / 0.606 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.408e-05/1.129, allocations: 19.92 kB / 0.606 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.157, allocations: 15.56 MB / 0.6212 GB, free: 89.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/1.157, allocations: 12 kB / 0.6212 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.16, allocations: 0.7918 MB / 0.622 GB, free: 89.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/1.163, allocations: 1.045 MB / 0.623 GB, free: 87.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000738/1.164, allocations: 115.9 kB / 0.6231 GB, free: 87.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.175, allocations: 10.47 MB / 0.6333 GB, free: 77.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/1.176, allocations: 19.88 kB / 0.6333 GB, free: 77.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.192, allocations: 10.93 MB / 0.644 GB, free: 65.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.194, allocations: 0.9952 MB / 0.645 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.195, allocations: 99.98 kB / 0.6451 GB, free: 64.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.198, allocations: 275.8 kB / 0.6453 GB, free: 64.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.199, allocations: 347.1 kB / 0.6457 GB, free: 64.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004484/1.199, allocations: 148 kB / 0.6458 GB, free: 64.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003579/1.203, allocations: 2.124 MB / 0.6479 GB, free: 61.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.203, allocations: 0 / 0.6479 GB, free: 61.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006999/1.21, allocations: 2.232 MB / 0.6501 GB, free: 59.7 MB / 446.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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.0009971/1.211, allocations: 293.5 kB / 0.6503 GB, free: 59.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02099/1.232, allocations: 11.66 MB / 0.6617 GB, free: 47.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/1.232, allocations: 0 / 0.6617 GB, free: 47.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006933/1.239, allocations: 3.723 MB / 0.6654 GB, free: 44.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/1.245, allocations: 0.7971 MB / 0.6661 GB, free: 43.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/1.278, allocations: 19.72 MB / 0.6854 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008862/1.287, allocations: 5.761 MB / 0.691 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.29, allocations: 367.4 kB / 0.6914 GB, free: 17.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/1.29, allocations: 0 / 0.6914 GB, free: 17.19 MB / 446.1 MB Notification: Performance of Templates: time 0.6586/1.948, allocations: 194.8 MB / 0.8816 GB, free: 143.5 MB / 462.1 MB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../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