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.00115/0.00115, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001142/0.001142, allocations: 191 kB / 18 MB, free: 4.977 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.29/1.29, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000906/0.000906, allocations: 47.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.288, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01844/0.3065, allocations: 16.6 MB / 417.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3177, allocations: 4.634 MB / 422 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003539/0.3213, allocations: 139.6 kB / 422.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01596/0.3373, allocations: 7.151 MB / 429.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008214/0.3455, allocations: 1.989 MB / 431.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.3504, allocations: 1.527 MB / 432.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.3642, allocations: 9.407 MB / 442.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03817/0.4024, allocations: 20.84 MB / 463 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009129/0.4116, allocations: 5.245 MB / 468.3 MB, free: 5.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.422, allocations: 5.864 MB / 474.1 MB, free: 15.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005641/0.4276, allocations: 1.355 MB / 475.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007015/0.4347, allocations: 1.656 MB / 477.1 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00548/0.4402, allocations: 2.79 MB / 479.9 MB, free: 9.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01236/0.4526, allocations: 5.354 MB / 485.3 MB, free: 3.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02503/0.4777, allocations: 18.35 MB / 0.4918 GB, free: 1.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/0.4777, allocations: 0 / 0.4918 GB, free: 1.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4778, allocations: 0 / 0.4918 GB, free: 1.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006523/0.4784, allocations: 0 / 0.4918 GB, free: 1.555 MB / 414.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.04304/0.5215, allocations: 12.12 MB / 0.5037 GB, free: 5.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.5216, allocations: 12.03 kB / 0.5037 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04942/0.571, allocations: 6.236 MB / 0.5098 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.5857, allocations: 5.823 MB / 0.5155 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007474/0.5864, allocations: 0.6665 MB / 0.5161 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004656/0.5911, allocations: 0.8826 MB / 0.517 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04235/0.6335, allocations: 14.7 MB / 0.5313 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/0.6338, allocations: 15.89 kB / 0.5313 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/0.636, allocations: 376 kB / 0.5317 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005319/0.6366, allocations: 499.3 kB / 0.5322 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5028/1.139, allocations: 13.53 MB / 0.5454 GB, free: 115.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06933/1.209, allocations: 44.07 MB / 0.5884 GB, free: 82.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009815/1.219, allocations: 11.64 MB / 0.5998 GB, free: 69.87 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/1.223, allocations: 3.163 MB / 0.6029 GB, free: 66.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/1.223, allocations: 183.6 kB / 0.6031 GB, free: 66.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/1.223, allocations: 74.56 kB / 0.6031 GB, free: 66.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.871e-06/1.223, allocations: 0 / 0.6031 GB, free: 66.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01834/1.241, allocations: 9.57 MB / 0.6125 GB, free: 56.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.241, allocations: 121.1 kB / 0.6126 GB, free: 56.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.246, allocations: 3.16 MB / 0.6157 GB, free: 53.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006411/1.246, allocations: 93.7 kB / 0.6158 GB, free: 53.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/1.248, allocations: 3.694 MB / 0.6194 GB, free: 49.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.249, allocations: 1.391 MB / 0.6207 GB, free: 48.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/1.251, allocations: 1.124 MB / 0.6218 GB, free: 47.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/1.251, allocations: 305.1 kB / 0.6221 GB, free: 46.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/1.254, allocations: 2.839 MB / 0.6249 GB, free: 44.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004418/1.259, allocations: 4.898 MB / 0.6297 GB, free: 38.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008037/1.267, allocations: 8.255 MB / 0.6377 GB, free: 29.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.268e-05/1.267, allocations: 20 kB / 0.6378 GB, free: 29.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01408/1.281, allocations: 9.107 MB / 0.6467 GB, free: 19.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/1.281, allocations: 32 kB / 0.6467 GB, free: 19.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.281, allocations: 76.02 kB / 0.6468 GB, free: 19.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/1.284, allocations: 1.142 MB / 0.6479 GB, free: 18.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.289, allocations: 1.295 MB / 0.6491 GB, free: 17.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/1.301, allocations: 10.8 MB / 0.6597 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005947/1.307, allocations: 0.7356 MB / 0.6604 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.309, allocations: 276 kB / 0.6607 GB, free: 5.25 MB / 462.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.008168/1.317, allocations: 3.424 MB / 0.664 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.319, allocations: 347.7 kB / 0.6643 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.331, allocations: 6.91 MB / 0.6711 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009349/1.34, allocations: 5.733 MB / 0.6767 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/1.34, allocations: 15.98 kB / 0.6767 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-05/1.341, allocations: 19.92 kB / 0.6767 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/1.367, allocations: 15.22 MB / 0.6916 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.367, allocations: 16 kB / 0.6916 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/1.371, allocations: 0.784 MB / 0.6924 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/1.374, allocations: 1.067 MB / 0.6934 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007099/1.375, allocations: 108.2 kB / 0.6935 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.389, allocations: 10.57 MB / 0.7038 GB, free: 8.52 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/1.389, allocations: 15.94 kB / 0.7039 GB, free: 8.504 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/1.406, allocations: 10.68 MB / 0.7143 GB, free: 13.59 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/1.409, allocations: 0.9912 MB / 0.7153 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006091/1.409, allocations: 95.94 kB / 0.7153 GB, free: 12.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.412, allocations: 279.7 kB / 0.7156 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007602/1.412, allocations: 339.2 kB / 0.7159 GB, free: 11.87 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/1.413, allocations: 144 kB / 0.7161 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003257/1.416, allocations: 2.121 MB / 0.7181 GB, free: 9.605 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.91e-07/1.416, allocations: 4 kB / 0.7182 GB, free: 9.602 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007493/1.424, allocations: 2.226 MB / 0.7203 GB, free: 7.371 MB / 0.5138 GB 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.001006/1.425, allocations: 302.6 kB / 0.7206 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.438, allocations: 7.456 MB / 0.7279 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.43e-05/1.438, allocations: 4 kB / 0.7279 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.445, allocations: 3.657 MB / 0.7315 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/1.45, allocations: 0.8084 MB / 0.7323 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3003/1.751, allocations: 15.94 MB / 0.7478 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005837/1.757, allocations: 5.936 MB / 0.7536 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004683/1.761, allocations: 2.155 MB / 0.7557 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/1.762, allocations: 318 kB / 0.756 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/1.762, allocations: 3.812 kB / 0.756 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08497/1.847, allocations: 58.58 MB / 0.8132 GB, free: 131.8 MB / 0.5294 GB 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/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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches