Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007605/0.0007605, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.0008266/0.0008266, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002052, allocations: 7.938 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07029/0.07051, allocations: 50.42 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01224/0.08277, allocations: 15.44 MB / 368 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1362/0.219, allocations: 4.552 MB / 372.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.2216, allocations: 124.8 kB / 372.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.2247, allocations: 1.159 MB / 373.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.2298, allocations: 1.802 MB / 375.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.2327, allocations: 1.422 MB / 377 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008505/0.2412, allocations: 9.495 MB / 386.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02373/0.265, allocations: 21 MB / 407.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/0.2695, allocations: 3.753 MB / 411.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004192/0.2737, allocations: 4.54 MB / 415.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006593/0.2744, allocations: 0.5625 MB / 416.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.276, allocations: 0.8604 MB / 417.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.2772, allocations: 1.791 MB / 419 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.2805, allocations: 4.266 MB / 423.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.2907, allocations: 15.4 MB / 438.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2907, allocations: 0 / 438.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2907, allocations: 0 / 438.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000214/0.2909, allocations: 0 / 438.7 MB, free: 11.04 MB / 350.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.02234/0.3133, allocations: 10.28 MB / 449 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3133, allocations: 12.03 kB / 449 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03019/0.3435, allocations: 6.208 MB / 455.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009179/0.3527, allocations: 5.673 MB / 460.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005267/0.3532, allocations: 0.6688 MB / 461.5 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.3554, allocations: 0.88 MB / 462.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.3813, allocations: 14.74 MB / 477.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.3815, allocations: 11.91 kB / 477.2 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001425/0.383, allocations: 378.4 kB / 477.5 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004003/0.3834, allocations: 499.3 kB / 478 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.4042, allocations: 13.57 MB / 491.6 MB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/0.4583, allocations: 44.72 MB / 0.5237 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2699/0.7282, allocations: 11.69 MB / 0.5352 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/0.7325, allocations: 3.224 MB / 0.5383 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.7328, allocations: 178.1 kB / 0.5385 GB, free: 129.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.7328, allocations: 84.91 kB / 0.5386 GB, free: 129.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 5.27e-06/0.7328, allocations: 0 / 0.5386 GB, free: 129.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01708/0.7499, allocations: 9.767 MB / 0.5481 GB, free: 126.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.75, allocations: 120.6 kB / 0.5482 GB, free: 126.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.7533, allocations: 3.147 MB / 0.5513 GB, free: 125 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.7535, allocations: 92.83 kB / 0.5514 GB, free: 124.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.7546, allocations: 3.681 MB / 0.555 GB, free: 122.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/0.7553, allocations: 1.434 MB / 0.5564 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/0.7558, allocations: 468 kB / 0.5568 GB, free: 121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.7558, allocations: 305.1 kB / 0.5571 GB, free: 120.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.7587, allocations: 2.913 MB / 0.56 GB, free: 119.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/0.7623, allocations: 4.978 MB / 0.5648 GB, free: 115.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006657/0.769, allocations: 8.407 MB / 0.573 GB, free: 110.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.262e-05/0.769, allocations: 19.5 kB / 0.573 GB, free: 110.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01015/0.7792, allocations: 9.236 MB / 0.5821 GB, free: 106.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.7792, allocations: 32 kB / 0.5821 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/0.7793, allocations: 68 kB / 0.5822 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.7817, allocations: 1.118 MB / 0.5832 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.785, allocations: 1.286 MB / 0.5845 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00959/0.7946, allocations: 9.937 MB / 0.5942 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.7975, allocations: 0.7434 MB / 0.5949 GB, free: 94.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.7978, allocations: 276 kB / 0.5952 GB, free: 93.83 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.003548/0.8014, allocations: 3.431 MB / 0.5985 GB, free: 90.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.8018, allocations: 347.7 kB / 0.5989 GB, free: 90.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008856/0.8107, allocations: 7.039 MB / 0.6058 GB, free: 82.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006703/0.8174, allocations: 5.877 MB / 0.6115 GB, free: 77.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.8175, allocations: 15.94 kB / 0.6115 GB, free: 77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/0.8175, allocations: 23.91 kB / 0.6115 GB, free: 76.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.8352, allocations: 15.56 MB / 0.6267 GB, free: 61.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.8352, allocations: 12 kB / 0.6267 GB, free: 61.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/0.8376, allocations: 0.7917 MB / 0.6275 GB, free: 60.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.84, allocations: 1.025 MB / 0.6285 GB, free: 59.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.8402, allocations: 122.9 kB / 0.6286 GB, free: 59.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009452/0.8496, allocations: 9.691 MB / 0.6381 GB, free: 49.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.8497, allocations: 15.94 kB / 0.6381 GB, free: 49.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.8607, allocations: 10.92 MB / 0.6488 GB, free: 38.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.8621, allocations: 1.007 MB / 0.6498 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/0.8626, allocations: 103.9 kB / 0.6499 GB, free: 37.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/0.8646, allocations: 283.7 kB / 0.6501 GB, free: 36.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/0.8651, allocations: 339.2 kB / 0.6505 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/0.8653, allocations: 144 kB / 0.6506 GB, free: 36.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002168/0.8675, allocations: 2.125 MB / 0.6527 GB, free: 34.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8675, allocations: 0 / 0.6527 GB, free: 34.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004174/0.8717, allocations: 2.234 MB / 0.6548 GB, free: 31.95 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.0004427/0.8721, allocations: 299.2 kB / 0.6551 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008578/0.8807, allocations: 7.578 MB / 0.6625 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.8807, allocations: 8.062 kB / 0.6625 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004235/0.885, allocations: 3.72 MB / 0.6662 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007114/0.8921, allocations: 0.7767 MB / 0.6669 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.9111, allocations: 19.77 MB / 0.6862 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004762/0.9159, allocations: 5.761 MB / 0.6919 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.9173, allocations: 363.4 kB / 0.6922 GB, free: 9.418 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.9173, allocations: 0 / 0.6922 GB, free: 9.418 MB / 462.1 MB Notification: Performance of Templates: time 0.4459/1.363, allocations: 193.8 MB / 0.8814 GB, free: 138.9 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches