Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 109.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.55 kB / 306.5 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.09077, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1676/0.2584, allocations: 16.32 MB / 373.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008671/0.2671, allocations: 4.648 MB / 378 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.2698, allocations: 129.9 kB / 378.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.2836, allocations: 6.803 MB / 384.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007017/0.2906, allocations: 1.768 MB / 386.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.2952, allocations: 1.423 MB / 388.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0147/0.3099, allocations: 9.501 MB / 397.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03392/0.3439, allocations: 24.28 MB / 421.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00779/0.3517, allocations: 5.291 MB / 427.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008758/0.3605, allocations: 5.961 MB / 433.1 MB, free: 200 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003914/0.3644, allocations: 1.359 MB / 434.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005395/0.3698, allocations: 1.668 MB / 436.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.3739, allocations: 2.806 MB / 438.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009629/0.3835, allocations: 5.358 MB / 444.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01984/0.4034, allocations: 18.28 MB / 462.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4034, allocations: 4 kB / 462.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4034, allocations: 0 / 462.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000421/0.4039, allocations: 0 / 462.6 MB, free: 2.641 MB / 366.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.03589/0.4397, allocations: 12.22 MB / 474.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4398, allocations: 8.031 kB / 474.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03561/0.4754, allocations: 6.221 MB / 481 MB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.4872, allocations: 5.64 MB / 486.7 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006154/0.4879, allocations: 0.6665 MB / 487.3 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/0.4915, allocations: 0.8827 MB / 488.2 MB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03506/0.5265, allocations: 14.75 MB / 0.4912 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003243/0.5269, allocations: 11.84 kB / 0.4912 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/0.5293, allocations: 376 kB / 0.4915 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00051/0.5298, allocations: 499.3 kB / 0.492 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.5561, allocations: 13.57 MB / 0.5053 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.384/0.9401, allocations: 45.1 MB / 0.5493 GB, free: 114.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.9512, allocations: 11.71 MB / 0.5608 GB, free: 106.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/0.955, allocations: 3.238 MB / 0.5639 GB, free: 105.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/0.9554, allocations: 262.5 kB / 0.5642 GB, free: 105.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.9554, allocations: 82.34 kB / 0.5642 GB, free: 105.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.172e-06/0.9554, allocations: 0 / 0.5642 GB, free: 105.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01728/0.9727, allocations: 9.71 MB / 0.5737 GB, free: 102.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9728, allocations: 122.3 kB / 0.5738 GB, free: 102.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.9766, allocations: 3.153 MB / 0.5769 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003176/0.977, allocations: 92.95 kB / 0.577 GB, free: 100.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.9787, allocations: 3.679 MB / 0.5806 GB, free: 97.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.9797, allocations: 1.431 MB / 0.582 GB, free: 96.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.9811, allocations: 1.141 MB / 0.5831 GB, free: 95.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.9812, allocations: 301.1 kB / 0.5834 GB, free: 95.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/0.9846, allocations: 2.906 MB / 0.5862 GB, free: 93.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/0.9886, allocations: 4.984 MB / 0.5911 GB, free: 89.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/0.9962, allocations: 8.408 MB / 0.5993 GB, free: 82.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-05/0.9963, allocations: 20 kB / 0.5993 GB, free: 82.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01303/1.009, allocations: 9.231 MB / 0.6084 GB, free: 73.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/1.009, allocations: 36 kB / 0.6084 GB, free: 73.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/1.01, allocations: 64 kB / 0.6084 GB, free: 73.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/1.012, allocations: 1.131 MB / 0.6096 GB, free: 72.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004471/1.017, allocations: 1.295 MB / 0.6108 GB, free: 71.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.028, allocations: 10.73 MB / 0.6213 GB, free: 60.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/1.032, allocations: 0.7432 MB / 0.622 GB, free: 59.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004801/1.033, allocations: 280 kB / 0.6223 GB, free: 59.06 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.004404/1.037, allocations: 3.419 MB / 0.6256 GB, free: 55.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000657/1.038, allocations: 350.3 kB / 0.626 GB, free: 55.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009696/1.048, allocations: 7.058 MB / 0.6329 GB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007245/1.055, allocations: 5.87 MB / 0.6386 GB, free: 42.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/1.055, allocations: 12 kB / 0.6386 GB, free: 42.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-05/1.055, allocations: 19.92 kB / 0.6386 GB, free: 42.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/1.076, allocations: 15.55 MB / 0.6538 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.076, allocations: 12 kB / 0.6538 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.078, allocations: 0.7879 MB / 0.6546 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.081, allocations: 1.04 MB / 0.6556 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/1.081, allocations: 112 kB / 0.6557 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.092, allocations: 10.49 MB / 0.666 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.092, allocations: 23.88 kB / 0.666 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/1.105, allocations: 10.93 MB / 0.6767 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.107, allocations: 0.9951 MB / 0.6776 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/1.107, allocations: 103.9 kB / 0.6777 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.109, allocations: 271.7 kB / 0.678 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/1.11, allocations: 347.2 kB / 0.6783 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.11, allocations: 147.9 kB / 0.6785 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002983/1.113, allocations: 2.125 MB / 0.6805 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 0 / 0.6805 GB, free: 14.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006847/1.12, allocations: 2.223 MB / 0.6827 GB, free: 12.39 MB / 462.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.0008753/1.121, allocations: 292.9 kB / 0.683 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02201/1.143, allocations: 11.66 MB / 0.6944 GB, free: 488 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.143, allocations: 4 kB / 0.6944 GB, free: 484 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006271/1.149, allocations: 3.725 MB / 0.698 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/1.153, allocations: 0.8072 MB / 0.6988 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2085/1.362, allocations: 19.95 MB / 0.7183 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007912/1.37, allocations: 5.936 MB / 0.7241 GB, free: 143.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006823/1.377, allocations: 2.155 MB / 0.7262 GB, free: 143 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.378, allocations: 322.4 kB / 0.7265 GB, free: 143 MB / 478.1 MB Notification: Performance of SimCode: time 7.22e-07/1.378, allocations: 0 / 0.7265 GB, free: 143 MB / 478.1 MB Notification: Performance of Templates: time 0.08627/1.464, allocations: 61.62 MB / 0.7867 GB, free: 100.8 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches