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.001097/0.001097, allocations: 114.4 kB / 17.28 MB, free: 6.211 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.001264/0.001264, allocations: 189.3 kB / 18.2 MB, free: 5.293 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.389/1.389, allocations: 205.1 MB / 224.1 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.001236/0.001236, allocations: 47.92 kB / 280.2 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01761/0.1373, allocations: 16.25 MB / 343 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.15, allocations: 4.604 MB / 347.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/0.1547, allocations: 103.7 kB / 347.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01705/0.1718, allocations: 6.807 MB / 354.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009013/0.1808, allocations: 1.692 MB / 356.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.1862, allocations: 1.508 MB / 357.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.1998, allocations: 9.376 MB / 367.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2995/0.4994, allocations: 24.28 MB / 391.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/0.5114, allocations: 5.285 MB / 396.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01442/0.5259, allocations: 5.961 MB / 402.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007292/0.5332, allocations: 1.361 MB / 404 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009747/0.543, allocations: 1.64 MB / 405.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007512/0.5506, allocations: 2.804 MB / 408.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01354/0.5642, allocations: 5.359 MB / 413.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02623/0.5904, allocations: 18.1 MB / 431.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.5905, allocations: 0 / 431.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5905, allocations: 0 / 431.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006889/0.5912, allocations: 0 / 431.9 MB, free: 8.922 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.0456/0.6368, allocations: 12.22 MB / 444.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.6369, allocations: 11.97 kB / 444.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03591/0.6728, allocations: 6.189 MB / 450.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/0.6895, allocations: 5.154 MB / 455.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009891/0.6905, allocations: 0.6732 MB / 456.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005079/0.6956, allocations: 0.8763 MB / 457 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05086/0.7465, allocations: 14.75 MB / 471.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00041/0.747, allocations: 11.91 kB / 471.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003435/0.7504, allocations: 370.8 kB / 472.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005627/0.751, allocations: 495.3 kB / 472.7 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/0.785, allocations: 13.56 MB / 486.2 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09227/0.8774, allocations: 44.61 MB / 0.5184 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.8916, allocations: 11.72 MB / 0.5298 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005293/0.8969, allocations: 3.233 MB / 0.533 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.8974, allocations: 175.6 kB / 0.5332 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.806e-05/0.8974, allocations: 78.56 kB / 0.5332 GB, free: 5.641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.371e-06/0.8975, allocations: 0 / 0.5332 GB, free: 5.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.4464/1.344, allocations: 9.719 MB / 0.5427 GB, free: 146.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/1.344, allocations: 122.3 kB / 0.5428 GB, free: 146.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007219/1.351, allocations: 3.149 MB / 0.5459 GB, free: 146.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008333/1.352, allocations: 96.45 kB / 0.546 GB, free: 146 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.354, allocations: 3.681 MB / 0.5496 GB, free: 143.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.356, allocations: 1.425 MB / 0.551 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/1.358, allocations: 1.145 MB / 0.5521 GB, free: 141.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/1.358, allocations: 311.6 kB / 0.5524 GB, free: 141.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004412/1.363, allocations: 2.907 MB / 0.5552 GB, free: 140.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/1.368, allocations: 4.982 MB / 0.5601 GB, free: 136.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008229/1.376, allocations: 8.406 MB / 0.5683 GB, free: 131.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.862e-05/1.376, allocations: 19.78 kB / 0.5683 GB, free: 131.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01247/1.389, allocations: 9.233 MB / 0.5773 GB, free: 127.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/1.389, allocations: 39.78 kB / 0.5774 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.903e-05/1.389, allocations: 65.72 kB / 0.5775 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/1.392, allocations: 1.13 MB / 0.5786 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/1.396, allocations: 1.296 MB / 0.5798 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.407, allocations: 10.72 MB / 0.5903 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.412, allocations: 0.7511 MB / 0.591 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000895/1.413, allocations: 275.6 kB / 0.5913 GB, free: 119 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.005667/1.419, allocations: 3.424 MB / 0.5946 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/1.419, allocations: 347.6 kB / 0.595 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.43, allocations: 7.044 MB / 0.6018 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006933/1.437, allocations: 5.87 MB / 0.6076 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/1.437, allocations: 12 kB / 0.6076 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/1.437, allocations: 19.92 kB / 0.6076 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/1.458, allocations: 15.55 MB / 0.6228 GB, free: 87.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/1.458, allocations: 16 kB / 0.6228 GB, free: 87.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/1.461, allocations: 0.784 MB / 0.6236 GB, free: 86.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/1.463, allocations: 1.056 MB / 0.6246 GB, free: 85.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002875/1.464, allocations: 108 kB / 0.6247 GB, free: 85.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.474, allocations: 10.48 MB / 0.6349 GB, free: 74.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.474, allocations: 26.41 kB / 0.635 GB, free: 74.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.487, allocations: 10.92 MB / 0.6456 GB, free: 63.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/1.489, allocations: 0.9951 MB / 0.6466 GB, free: 62.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005886/1.49, allocations: 99.98 kB / 0.6467 GB, free: 62.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.492, allocations: 279.7 kB / 0.647 GB, free: 62.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000606/1.493, allocations: 347.2 kB / 0.6473 GB, free: 61.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.493, allocations: 144 kB / 0.6474 GB, free: 61.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002481/1.495, allocations: 2.121 MB / 0.6495 GB, free: 59.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.41e-07/1.495, allocations: 4 kB / 0.6495 GB, free: 59.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005732/1.501, allocations: 2.228 MB / 0.6517 GB, free: 57.24 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.00077/1.502, allocations: 300.1 kB / 0.652 GB, free: 56.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01931/1.521, allocations: 11.64 MB / 0.6633 GB, free: 45.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/1.521, allocations: 4.438 kB / 0.6633 GB, free: 45.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006566/1.528, allocations: 3.722 MB / 0.667 GB, free: 41.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.532, allocations: 0.8131 MB / 0.6678 GB, free: 40.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/1.561, allocations: 19.96 MB / 0.6873 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005573/1.566, allocations: 5.938 MB / 0.6931 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005584/1.572, allocations: 2.154 MB / 0.6952 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.573, allocations: 323.4 kB / 0.6955 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.743e-06/1.573, allocations: 0 / 0.6955 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Templates: time 0.3362/1.909, allocations: 61.7 MB / 0.7557 GB, free: 107.2 MB / 446.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/jenkins/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