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.001566/0.001566, allocations: 104.6 kB / 16.92 MB, free: 5.781 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.001841/0.001841, allocations: 191.5 kB / 17.85 MB, free: 5.195 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.337/1.337, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.86 kB / 300.6 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09326, allocations: 49.45 MB / 350.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01795/0.1112, allocations: 16.6 MB / 366.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1853/0.2966, allocations: 4.619 MB / 371.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.2998, allocations: 133.2 kB / 371.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01435/0.3142, allocations: 7.166 MB / 378.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007002/0.3212, allocations: 1.979 MB / 380.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.3252, allocations: 1.522 MB / 382.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.3357, allocations: 9.339 MB / 391.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02473/0.3605, allocations: 20.92 MB / 412.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006931/0.3674, allocations: 5.222 MB / 417.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008558/0.376, allocations: 5.905 MB / 423.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003615/0.3797, allocations: 1.359 MB / 424.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006521/0.3862, allocations: 1.647 MB / 426.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005035/0.3913, allocations: 2.794 MB / 429.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009565/0.4009, allocations: 5.354 MB / 434.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.4204, allocations: 18.25 MB / 452.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4204, allocations: 0 / 452.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4205, allocations: 4 kB / 452.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005683/0.421, allocations: 0 / 452.9 MB, free: 12.5 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.04068/0.4617, allocations: 12.18 MB / 465.1 MB, free: 340 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4618, allocations: 8.031 kB / 465.1 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03556/0.4974, allocations: 6.189 MB / 471.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.5099, allocations: 5.636 MB / 476.9 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008389/0.5108, allocations: 0.6824 MB / 477.6 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004394/0.5152, allocations: 0.884 MB / 478.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03863/0.5539, allocations: 14.7 MB / 493.2 MB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004665/0.5544, allocations: 19.78 kB / 493.2 MB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003302/0.5577, allocations: 376 kB / 493.6 MB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005572/0.5583, allocations: 495.3 kB / 494 MB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02852/0.5868, allocations: 13.53 MB / 0.4957 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4372/1.024, allocations: 44.6 MB / 0.5392 GB, free: 117.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.035, allocations: 11.65 MB / 0.5506 GB, free: 111.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004199/1.039, allocations: 3.155 MB / 0.5537 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/1.04, allocations: 184.4 kB / 0.5539 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/1.04, allocations: 80.31 kB / 0.5539 GB, free: 111 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.072e-06/1.04, allocations: 0 / 0.5539 GB, free: 111 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02045/1.06, allocations: 9.576 MB / 0.5633 GB, free: 110.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/1.06, allocations: 122.3 kB / 0.5634 GB, free: 110.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/1.064, allocations: 3.158 MB / 0.5665 GB, free: 109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000429/1.065, allocations: 91.98 kB / 0.5666 GB, free: 108.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.066, allocations: 3.691 MB / 0.5702 GB, free: 106.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009476/1.067, allocations: 1.398 MB / 0.5715 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/1.069, allocations: 1.12 MB / 0.5726 GB, free: 104.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.12e-05/1.069, allocations: 301.1 kB / 0.5729 GB, free: 104.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/1.072, allocations: 2.837 MB / 0.5757 GB, free: 103.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004214/1.076, allocations: 4.909 MB / 0.5805 GB, free: 99.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/1.084, allocations: 8.252 MB / 0.5885 GB, free: 94.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.821e-05/1.085, allocations: 21.12 kB / 0.5886 GB, free: 94.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01411/1.099, allocations: 9.111 MB / 0.5975 GB, free: 89.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/1.099, allocations: 31.59 kB / 0.5975 GB, free: 89.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.099, allocations: 68.69 kB / 0.5976 GB, free: 89.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.102, allocations: 1.151 MB / 0.5987 GB, free: 88.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/1.107, allocations: 1.295 MB / 0.5999 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/1.12, allocations: 10.81 MB / 0.6105 GB, free: 76.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/1.125, allocations: 0.7279 MB / 0.6112 GB, free: 75.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.126, allocations: 280 kB / 0.6115 GB, free: 75.36 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 (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.005824/1.132, allocations: 3.424 MB / 0.6148 GB, free: 71.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.133, allocations: 347.6 kB / 0.6152 GB, free: 71.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.144, allocations: 6.909 MB / 0.6219 GB, free: 64.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007806/1.152, allocations: 5.733 MB / 0.6275 GB, free: 58.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-05/1.152, allocations: 12 kB / 0.6275 GB, free: 58.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/1.152, allocations: 27.91 kB / 0.6275 GB, free: 58.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.175, allocations: 15.34 MB / 0.6425 GB, free: 43.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.176, allocations: 12 kB / 0.6425 GB, free: 43.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/1.178, allocations: 0.7917 MB / 0.6433 GB, free: 42.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/1.181, allocations: 1.08 MB / 0.6444 GB, free: 41.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/1.182, allocations: 104 kB / 0.6445 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/1.193, allocations: 10.58 MB / 0.6548 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.193, allocations: 19.92 kB / 0.6548 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.207, allocations: 10.68 MB / 0.6652 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.209, allocations: 0.9951 MB / 0.6662 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008081/1.209, allocations: 92 kB / 0.6663 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.212, allocations: 279.7 kB / 0.6666 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007215/1.213, allocations: 335.2 kB / 0.6669 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/1.213, allocations: 148 kB / 0.667 GB, free: 17.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002994/1.216, allocations: 2.121 MB / 0.6691 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.216, allocations: 0 / 0.6691 GB, free: 15.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006148/1.222, allocations: 2.23 MB / 0.6713 GB, free: 13.4 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 (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.0007842/1.223, allocations: 290.9 kB / 0.6716 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01941/1.243, allocations: 11.29 MB / 0.6826 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/1.243, allocations: 4.875 kB / 0.6826 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006832/1.249, allocations: 3.655 MB / 0.6862 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/1.255, allocations: 0.8037 MB / 0.6869 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.228/1.483, allocations: 16.13 MB / 0.7027 GB, free: 135.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008436/1.492, allocations: 5.931 MB / 0.7085 GB, free: 134.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006174/1.498, allocations: 2.156 MB / 0.7106 GB, free: 134.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.499, allocations: 317.1 kB / 0.7109 GB, free: 134.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/1.499, allocations: 0 / 0.7109 GB, free: 134.3 MB / 462.1 MB Notification: Performance of Templates: time 0.08943/1.589, allocations: 60.66 MB / 0.7701 GB, free: 96.39 MB / 462.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/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