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.001011/0.001011, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.28 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09255, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1809/0.2735, allocations: 16.59 MB / 374.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008949/0.2825, allocations: 4.709 MB / 378.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.2858, allocations: 133.4 kB / 378.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01425/0.3001, allocations: 7.162 MB / 386.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006456/0.3066, allocations: 1.965 MB / 388 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.3103, allocations: 1.527 MB / 389.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.321, allocations: 9.444 MB / 399 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02828/0.3493, allocations: 20.93 MB / 419.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007815/0.3571, allocations: 5.229 MB / 425.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008529/0.3657, allocations: 5.938 MB / 431.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003582/0.3693, allocations: 1.359 MB / 432.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005303/0.3746, allocations: 1.66 MB / 434.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0041/0.3788, allocations: 2.802 MB / 436.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008938/0.3877, allocations: 5.354 MB / 442.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01914/0.4069, allocations: 18.26 MB / 460.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4069, allocations: 0 / 460.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4069, allocations: 0 / 460.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004173/0.4074, allocations: 0 / 460.5 MB, free: 4.879 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.0323/0.4397, allocations: 12.18 MB / 472.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4397, allocations: 8.031 kB / 472.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03508/0.4748, allocations: 6.221 MB / 479 MB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.4862, allocations: 5.644 MB / 484.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006234/0.4868, allocations: 0.6743 MB / 485.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/0.4899, allocations: 0.8904 MB / 486.2 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/0.5232, allocations: 14.71 MB / 0.4891 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003417/0.5236, allocations: 15.84 kB / 0.4891 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/0.5263, allocations: 372 kB / 0.4895 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005402/0.5268, allocations: 495.3 kB / 0.49 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/0.5537, allocations: 13.52 MB / 0.5032 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3998/0.9536, allocations: 45.09 MB / 0.5472 GB, free: 113.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.9661, allocations: 11.64 MB / 0.5586 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/0.9703, allocations: 3.164 MB / 0.5617 GB, free: 105.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/0.9707, allocations: 261.7 kB / 0.5619 GB, free: 105.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.9708, allocations: 78.16 kB / 0.562 GB, free: 105.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.063e-06/0.9708, allocations: 0 / 0.562 GB, free: 105.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01834/0.9891, allocations: 9.564 MB / 0.5713 GB, free: 102.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.9892, allocations: 119.5 kB / 0.5714 GB, free: 102.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/0.9931, allocations: 3.155 MB / 0.5745 GB, free: 101.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004245/0.9935, allocations: 92.61 kB / 0.5746 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.995, allocations: 3.698 MB / 0.5782 GB, free: 98.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009041/0.9959, allocations: 1.392 MB / 0.5796 GB, free: 97.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.9973, allocations: 1.128 MB / 0.5807 GB, free: 96.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.9973, allocations: 301.1 kB / 0.581 GB, free: 96.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.001, allocations: 2.84 MB / 0.5837 GB, free: 94.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/1.004, allocations: 4.902 MB / 0.5885 GB, free: 90.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/1.012, allocations: 8.255 MB / 0.5966 GB, free: 84.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-05/1.012, allocations: 20.69 kB / 0.5966 GB, free: 84.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01235/1.024, allocations: 9.107 MB / 0.6055 GB, free: 76.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/1.024, allocations: 32 kB / 0.6055 GB, free: 76.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.401e-05/1.025, allocations: 68 kB / 0.6056 GB, free: 76.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/1.028, allocations: 1.151 MB / 0.6067 GB, free: 75.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/1.032, allocations: 1.291 MB / 0.608 GB, free: 73.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.044, allocations: 10.83 MB / 0.6186 GB, free: 62.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/1.049, allocations: 0.7317 MB / 0.6193 GB, free: 62.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009052/1.05, allocations: 283.9 kB / 0.6195 GB, free: 61.73 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.005841/1.056, allocations: 3.423 MB / 0.6229 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.057, allocations: 343.7 kB / 0.6232 GB, free: 57.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.068, allocations: 6.925 MB / 0.63 GB, free: 51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007847/1.076, allocations: 5.733 MB / 0.6356 GB, free: 45.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/1.076, allocations: 12 kB / 0.6356 GB, free: 45.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/1.076, allocations: 23.86 kB / 0.6356 GB, free: 45.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02733/1.103, allocations: 15.33 MB / 0.6506 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/1.103, allocations: 12 kB / 0.6506 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/1.106, allocations: 0.7879 MB / 0.6514 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.109, allocations: 1.067 MB / 0.6524 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000602/1.11, allocations: 104 kB / 0.6525 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.122, allocations: 10.59 MB / 0.6628 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.122, allocations: 19.94 kB / 0.6629 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.138, allocations: 10.68 MB / 0.6733 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.14, allocations: 0.9874 MB / 0.6743 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009936/1.141, allocations: 99.92 kB / 0.6744 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.144, allocations: 275.7 kB / 0.6746 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000899/1.145, allocations: 347.2 kB / 0.675 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005058/1.146, allocations: 140 kB / 0.6751 GB, free: 4.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003452/1.149, allocations: 2.125 MB / 0.6772 GB, free: 1.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.149, allocations: 0 / 0.6772 GB, free: 1.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006831/1.156, allocations: 2.227 MB / 0.6793 GB, free: 15.74 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 (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.0009548/1.157, allocations: 288.9 kB / 0.6796 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02091/1.178, allocations: 11.28 MB / 0.6906 GB, free: 4.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/1.178, allocations: 3.938 kB / 0.6906 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007198/1.185, allocations: 3.66 MB / 0.6942 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.19, allocations: 0.7966 MB / 0.695 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2065/1.397, allocations: 16.14 MB / 0.7107 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00836/1.405, allocations: 5.932 MB / 0.7165 GB, free: 144.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005975/1.411, allocations: 2.156 MB / 0.7186 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.412, allocations: 319.2 kB / 0.7189 GB, free: 144.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/1.412, allocations: 0 / 0.7189 GB, free: 144.3 MB / 478.1 MB Notification: Performance of Templates: time 0.09219/1.505, allocations: 60.54 MB / 0.7781 GB, free: 108.3 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