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.001022/0.001022, allocations: 108.3 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.001147/0.001147, 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009722/0.0009722, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3219, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01719/0.3391, allocations: 16.6 MB / 417.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.3528, allocations: 4.634 MB / 422 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00475/0.3576, allocations: 131.6 kB / 422.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01658/0.3742, allocations: 7.198 MB / 429.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00834/0.3826, allocations: 1.99 MB / 431.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004767/0.3874, allocations: 1.523 MB / 432.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.4, allocations: 9.407 MB / 442.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03625/0.4363, allocations: 20.84 MB / 463.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.447, allocations: 5.253 MB / 468.3 MB, free: 4.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.4579, allocations: 5.868 MB / 474.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004881/0.4628, allocations: 1.355 MB / 475.5 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007283/0.4701, allocations: 1.648 MB / 477.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006351/0.4765, allocations: 2.798 MB / 480 MB, free: 9.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01365/0.4902, allocations: 5.35 MB / 485.3 MB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02655/0.5168, allocations: 18.35 MB / 0.4919 GB, free: 1.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.5169, allocations: 0 / 0.4919 GB, free: 1.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5169, allocations: 0 / 0.4919 GB, free: 1.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007009/0.5176, allocations: 0 / 0.4919 GB, free: 1.527 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.04254/0.5601, allocations: 12.12 MB / 0.5037 GB, free: 5.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.5602, allocations: 12.03 kB / 0.5037 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03507/0.5953, allocations: 6.237 MB / 0.5098 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.6093, allocations: 5.823 MB / 0.5155 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006627/0.61, allocations: 0.6704 MB / 0.5161 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003855/0.6139, allocations: 0.8827 MB / 0.517 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03657/0.6505, allocations: 14.71 MB / 0.5314 GB, free: 8.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003915/0.6509, allocations: 7.906 kB / 0.5314 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/0.6539, allocations: 372 kB / 0.5317 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004907/0.6544, allocations: 0.4915 MB / 0.5322 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.54/1.194, allocations: 13.52 MB / 0.5454 GB, free: 115.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06573/1.26, allocations: 44.07 MB / 0.5885 GB, free: 82.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009426/1.27, allocations: 11.64 MB / 0.5998 GB, free: 69.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/1.273, allocations: 3.171 MB / 0.6029 GB, free: 66.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/1.274, allocations: 176.2 kB / 0.6031 GB, free: 66.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.274, allocations: 81.94 kB / 0.6032 GB, free: 66.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.631e-06/1.274, allocations: 0 / 0.6032 GB, free: 66.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01667/1.29, allocations: 9.574 MB / 0.6125 GB, free: 56.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.29, allocations: 121.1 kB / 0.6126 GB, free: 56.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/1.295, allocations: 3.156 MB / 0.6157 GB, free: 53.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003397/1.295, allocations: 89.7 kB / 0.6158 GB, free: 53.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.297, allocations: 3.697 MB / 0.6194 GB, free: 49.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/1.298, allocations: 1.394 MB / 0.6208 GB, free: 48.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/1.299, allocations: 1.128 MB / 0.6219 GB, free: 47.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/1.299, allocations: 301.1 kB / 0.6222 GB, free: 46.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/1.302, allocations: 2.834 MB / 0.6249 GB, free: 44.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004084/1.307, allocations: 4.899 MB / 0.6297 GB, free: 38.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/1.314, allocations: 8.255 MB / 0.6378 GB, free: 29.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.686e-05/1.314, allocations: 20 kB / 0.6378 GB, free: 29.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0125/1.327, allocations: 9.103 MB / 0.6467 GB, free: 19.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/1.327, allocations: 36 kB / 0.6467 GB, free: 19.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-05/1.327, allocations: 64 kB / 0.6468 GB, free: 19.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/1.33, allocations: 1.154 MB / 0.6479 GB, free: 18.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/1.334, allocations: 1.291 MB / 0.6492 GB, free: 17.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.346, allocations: 10.8 MB / 0.6597 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/1.35, allocations: 0.7395 MB / 0.6604 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007378/1.351, allocations: 272 kB / 0.6607 GB, free: 5.27 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.005546/1.357, allocations: 3.424 MB / 0.6641 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/1.358, allocations: 347.7 kB / 0.6644 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.368, allocations: 6.921 MB / 0.6711 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008467/1.377, allocations: 5.729 MB / 0.6767 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/1.377, allocations: 16 kB / 0.6768 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/1.377, allocations: 19.92 kB / 0.6768 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/1.402, allocations: 15.22 MB / 0.6916 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.402, allocations: 12 kB / 0.6916 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/1.405, allocations: 0.7919 MB / 0.6924 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/1.408, allocations: 1.06 MB / 0.6935 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004713/1.409, allocations: 112 kB / 0.6936 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.424, allocations: 10.57 MB / 0.7039 GB, free: 8.52 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/1.424, allocations: 23.92 kB / 0.7039 GB, free: 8.496 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.441, allocations: 10.68 MB / 0.7143 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/1.443, allocations: 0.9874 MB / 0.7153 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005501/1.444, allocations: 99.92 kB / 0.7154 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.446, allocations: 271.7 kB / 0.7157 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007092/1.446, allocations: 347.2 kB / 0.716 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/1.447, allocations: 140 kB / 0.7161 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003098/1.45, allocations: 2.125 MB / 0.7182 GB, free: 9.598 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.5e-07/1.45, allocations: 0 / 0.7182 GB, free: 9.598 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006301/1.456, allocations: 2.226 MB / 0.7204 GB, free: 7.367 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.0006515/1.457, allocations: 302.4 kB / 0.7207 GB, free: 7.066 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.469, allocations: 7.454 MB / 0.7279 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.469, allocations: 5.875 kB / 0.7279 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005668/1.474, allocations: 3.658 MB / 0.7315 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.478, allocations: 0.8048 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.2806/1.759, allocations: 15.95 MB / 0.7479 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00579/1.765, allocations: 5.937 MB / 0.7537 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005273/1.77, allocations: 2.152 MB / 0.7558 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.771, allocations: 317.6 kB / 0.7561 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.771, allocations: 0 / 0.7561 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08953/1.86, allocations: 58.59 MB / 0.8133 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