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.0008582/0.0008583, allocations: 94.59 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009386/0.0009386, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002177, allocations: 8 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09532, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01235/0.1077, allocations: 13.27 MB / 371.4 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2063/0.314, allocations: 4.433 MB / 375.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.316, allocations: 111.9 kB / 375.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.3182, allocations: 0.9083 MB / 376.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004247/0.3225, allocations: 1.603 MB / 378.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.3252, allocations: 1.21 MB / 379.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0124/0.3376, allocations: 9.207 MB / 388.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02671/0.3643, allocations: 17.19 MB / 406 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007473/0.3718, allocations: 3.571 MB / 409.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006927/0.3788, allocations: 3.93 MB / 413.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.3803, allocations: 0.5664 MB / 414.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/0.3837, allocations: 0.8096 MB / 414.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.3853, allocations: 1.709 MB / 416.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.3881, allocations: 1.775 MB / 418.4 MB, free: 204 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.4015, allocations: 15.38 MB / 433.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4015, allocations: 0 / 433.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.4016, allocations: 4 kB / 433.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003592/0.4019, allocations: 0 / 433.8 MB, free: 0.793 MB / 334.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.02751/0.4294, allocations: 10.31 MB / 444.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4295, allocations: 12.03 kB / 444.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03562/0.4651, allocations: 6.298 MB / 450.4 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.4771, allocations: 5.582 MB / 456 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005135/0.4776, allocations: 0.6703 MB / 456.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002334/0.48, allocations: 0.871 MB / 457.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03051/0.5105, allocations: 14.61 MB / 472.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.5107, allocations: 7.906 kB / 472.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/0.5119, allocations: 372 kB / 472.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004478/0.5124, allocations: 0.4992 MB / 473 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/0.537, allocations: 13.49 MB / 486.5 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07031/0.6073, allocations: 45.18 MB / 0.5192 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.6189, allocations: 11.69 MB / 0.5306 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.6195, allocations: 270 kB / 0.5309 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/0.6196, allocations: 78.56 kB / 0.5309 GB, free: 220 kB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 5.761e-06/0.6196, allocations: 0 / 0.5309 GB, free: 220 kB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.3464/0.9659, allocations: 10.3 MB / 0.541 GB, free: 125.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.9661, allocations: 119.5 kB / 0.5411 GB, free: 125.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/0.971, allocations: 3.135 MB / 0.5442 GB, free: 124.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/0.9714, allocations: 92.39 kB / 0.5443 GB, free: 124.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.9732, allocations: 3.682 MB / 0.5479 GB, free: 122 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.9743, allocations: 1.428 MB / 0.5492 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.9746, allocations: 118.9 kB / 0.5494 GB, free: 120.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.9748, allocations: 0.5449 MB / 0.5499 GB, free: 120.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003977/0.9788, allocations: 2.907 MB / 0.5527 GB, free: 119.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004288/0.9831, allocations: 4.951 MB / 0.5576 GB, free: 115.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.9874, allocations: 4.029 MB / 0.5615 GB, free: 114 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-05/0.9875, allocations: 19.72 kB / 0.5615 GB, free: 114 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01226/0.9998, allocations: 9.208 MB / 0.5705 GB, free: 110.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.9998, allocations: 33.31 kB / 0.5705 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.892e-05/0.9999, allocations: 66.91 kB / 0.5706 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/1.003, allocations: 1.093 MB / 0.5717 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/1.007, allocations: 1.3 MB / 0.5729 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/1.018, allocations: 10.08 MB / 0.5828 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.022, allocations: 0.7429 MB / 0.5835 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007061/1.023, allocations: 276 kB / 0.5838 GB, free: 102.3 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 (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.006797/1.03, allocations: 3.427 MB / 0.5871 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/1.031, allocations: 343.7 kB / 0.5875 GB, free: 98.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00987/1.04, allocations: 7.061 MB / 0.5943 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00773/1.048, allocations: 5.858 MB / 0.6001 GB, free: 85.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/1.048, allocations: 15.19 kB / 0.6001 GB, free: 85.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/1.048, allocations: 23.91 kB / 0.6001 GB, free: 85.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.069, allocations: 15.11 MB / 0.6149 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.069, allocations: 8 kB / 0.6149 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.072, allocations: 0.7554 MB / 0.6156 GB, free: 69.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/1.075, allocations: 1.024 MB / 0.6166 GB, free: 68.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/1.075, allocations: 95.98 kB / 0.6167 GB, free: 68.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/1.086, allocations: 9.95 MB / 0.6264 GB, free: 58.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.086, allocations: 11.94 kB / 0.6264 GB, free: 58.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.099, allocations: 11.14 MB / 0.6373 GB, free: 46.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.102, allocations: 0.9835 MB / 0.6383 GB, free: 45.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005023/1.102, allocations: 91.97 kB / 0.6384 GB, free: 45.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.104, allocations: 275.7 kB / 0.6386 GB, free: 45.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/1.104, allocations: 311.3 kB / 0.6389 GB, free: 44.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.105, allocations: 136 kB / 0.6391 GB, free: 44.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002457/1.107, allocations: 2.097 MB / 0.6411 GB, free: 42.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.107, allocations: 0.875 kB / 0.6411 GB, free: 42.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006011/1.113, allocations: 2.224 MB / 0.6433 GB, free: 40.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (401): * Single equations (assignments): 391 * 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.001357/1.115, allocations: 288.7 kB / 0.6435 GB, free: 40.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0108/1.125, allocations: 7.542 MB / 0.6509 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.125, allocations: 0 / 0.6509 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.131, allocations: 3.658 MB / 0.6545 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.134, allocations: 0.6835 MB / 0.6552 GB, free: 28.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/1.159, allocations: 18.91 MB / 0.6736 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004984/1.164, allocations: 6.063 MB / 0.6795 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004952/1.169, allocations: 2.13 MB / 0.6816 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/1.17, allocations: 315.4 kB / 0.6819 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/1.17, allocations: 4 kB / 0.6819 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of Templates: time 0.306/1.476, allocations: 56.75 MB / 0.7373 GB, free: 141.9 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","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches