Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008014/0.0008016, allocations: 90.31 kB / 16.95 MB, free: 6.449 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.000892/0.0008921, allocations: 183 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004989, allocations: 8 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 47.58 MB / 328.4 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01625/0.142, allocations: 14.23 MB / 342.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.1535, allocations: 4.262 MB / 346.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.1575, allocations: 103.7 kB / 347 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.1617, allocations: 0.839 MB / 347.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007787/0.1695, allocations: 1.583 MB / 349.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.1744, allocations: 1.275 MB / 350.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01941/0.1939, allocations: 12.13 MB / 362.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04179/0.2357, allocations: 17.36 MB / 380.1 MB, free: 84 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2601/0.4959, allocations: 3.967 MB / 384.1 MB, free: 22.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.5076, allocations: 4.342 MB / 388.5 MB, free: 22.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00491/0.5126, allocations: 0.5621 MB / 389 MB, free: 22.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006482/0.5191, allocations: 0.8322 MB / 389.8 MB, free: 22.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.5217, allocations: 1.764 MB / 391.6 MB, free: 22.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004913/0.5266, allocations: 1.77 MB / 393.4 MB, free: 22.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0204/0.547, allocations: 15.24 MB / 408.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.547, allocations: 0 / 408.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5471, allocations: 0 / 408.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005925/0.5477, allocations: 3.875 kB / 408.6 MB, free: 15.96 MB / 318.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.0324/0.5801, allocations: 10.37 MB / 419 MB, free: 10.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5801, allocations: 12.03 kB / 419 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03268/0.6128, allocations: 6.215 MB / 425.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.6267, allocations: 5.116 MB / 430.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000911/0.6276, allocations: 0.6743 MB / 431 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005715/0.6334, allocations: 0.8787 MB / 431.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05134/0.6847, allocations: 14.67 MB / 446.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006682/0.6855, allocations: 14.52 kB / 446.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005372/0.6909, allocations: 375.7 kB / 446.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006889/0.6916, allocations: 499.3 kB / 447.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/0.7329, allocations: 13.48 MB / 460.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1056/0.8385, allocations: 44.69 MB / 0.4938 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/0.8538, allocations: 11.68 MB / 0.5052 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006096/0.8599, allocations: 3.212 MB / 0.5083 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.8606, allocations: 180.3 kB / 0.5085 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.983e-05/0.8607, allocations: 82.52 kB / 0.5085 GB, free: 8.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 6.512e-06/0.8607, allocations: 0 / 0.5085 GB, free: 8.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.03051/0.8912, allocations: 11 MB / 0.5193 GB, free: 13.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.8914, allocations: 127.3 kB / 0.5194 GB, free: 13.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009323/0.9007, allocations: 3.128 MB / 0.5225 GB, free: 9.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001144/0.9019, allocations: 89.7 kB / 0.5225 GB, free: 9.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003457/0.9054, allocations: 3.687 MB / 0.5262 GB, free: 6.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002584/0.908, allocations: 1.425 MB / 0.5275 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.9094, allocations: 116 kB / 0.5277 GB, free: 4.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0007164/0.9101, allocations: 0.5459 MB / 0.5282 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006013/0.9161, allocations: 2.895 MB / 0.531 GB, free: 1.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2672/1.183, allocations: 4.948 MB / 0.5358 GB, free: 115.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006038/1.189, allocations: 4.009 MB / 0.5398 GB, free: 115.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.153e-05/1.19, allocations: 23.56 kB / 0.5398 GB, free: 115.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01695/1.207, allocations: 9.184 MB / 0.5488 GB, free: 115 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/1.207, allocations: 33.06 kB / 0.5488 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/1.207, allocations: 66 kB / 0.5488 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/1.21, allocations: 1.135 MB / 0.55 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005015/1.215, allocations: 1.289 MB / 0.5512 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.227, allocations: 9.91 MB / 0.5609 GB, free: 110.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/1.232, allocations: 0.7469 MB / 0.5616 GB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/1.233, allocations: 281.3 kB / 0.5619 GB, free: 110.3 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006222/1.239, allocations: 3.419 MB / 0.5652 GB, free: 108.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00091/1.24, allocations: 354.6 kB / 0.5656 GB, free: 108.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.25, allocations: 7.028 MB / 0.5724 GB, free: 105.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00724/1.257, allocations: 5.84 MB / 0.5781 GB, free: 100.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.258, allocations: 15.83 kB / 0.5781 GB, free: 100.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.258, allocations: 26.45 kB / 0.5782 GB, free: 100.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.28, allocations: 15.51 MB / 0.5933 GB, free: 85.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/1.28, allocations: 16.72 kB / 0.5933 GB, free: 85.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.282, allocations: 0.791 MB / 0.5941 GB, free: 84.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/1.285, allocations: 1.036 MB / 0.5951 GB, free: 83.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/1.285, allocations: 108 kB / 0.5952 GB, free: 83.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/1.295, allocations: 9.655 MB / 0.6047 GB, free: 73.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/1.295, allocations: 18.75 kB / 0.6047 GB, free: 73.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.309, allocations: 10.88 MB / 0.6153 GB, free: 62.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.311, allocations: 1.011 MB / 0.6163 GB, free: 61.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/1.312, allocations: 100 kB / 0.6164 GB, free: 61.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.314, allocations: 281.7 kB / 0.6166 GB, free: 61.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006375/1.315, allocations: 350.1 kB / 0.617 GB, free: 61.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/1.315, allocations: 144 kB / 0.6171 GB, free: 60.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003502/1.318, allocations: 2.101 MB / 0.6192 GB, free: 58.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.318, allocations: 0 / 0.6192 GB, free: 58.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006939/1.325, allocations: 2.216 MB / 0.6213 GB, free: 56.61 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007332/1.326, allocations: 309.9 kB / 0.6216 GB, free: 56.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/1.337, allocations: 7.54 MB / 0.629 GB, free: 49.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/1.337, allocations: 4 kB / 0.629 GB, free: 49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005163/1.342, allocations: 3.713 MB / 0.6326 GB, free: 45.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/1.347, allocations: 0.7794 MB / 0.6334 GB, free: 44.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03132/1.378, allocations: 19.19 MB / 0.6521 GB, free: 25.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006084/1.384, allocations: 5.937 MB / 0.6579 GB, free: 19.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005371/1.39, allocations: 2.158 MB / 0.66 GB, free: 17.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009519/1.391, allocations: 319.4 kB / 0.6603 GB, free: 16.81 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/1.391, allocations: 2.734 kB / 0.6603 GB, free: 16.81 MB / 430.1 MB Notification: Performance of Templates: time 0.3385/1.729, allocations: 57.22 MB / 0.7162 GB, free: 145.5 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches