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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 108.8 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008848/0.0008849, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2043, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01178/0.2162, allocations: 16.33 MB / 423.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008824/0.2251, allocations: 4.686 MB / 428.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.2283, allocations: 127.6 kB / 428.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.2406, allocations: 6.796 MB / 435 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006285/0.2469, allocations: 1.785 MB / 436.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.2509, allocations: 1.462 MB / 438.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.2639, allocations: 9.742 MB / 448 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02808/0.292, allocations: 17.64 MB / 465.6 MB, free: 1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/0.299, allocations: 4.69 MB / 470.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008277/0.3073, allocations: 5.719 MB / 476 MB, free: 6.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003239/0.3106, allocations: 1.004 MB / 477 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.3154, allocations: 1.308 MB / 478.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004567/0.32, allocations: 2.419 MB / 480.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009126/0.3292, allocations: 4.979 MB / 485.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.3476, allocations: 18.01 MB / 0.4919 GB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.3477, allocations: 4 kB / 0.492 GB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3477, allocations: 0 / 0.492 GB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005866/0.3483, allocations: 0 / 0.492 GB, free: 10.75 MB / 378.7 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.3489/0.6972, allocations: 12.22 MB / 0.5039 GB, free: 78.62 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6972, allocations: 8.812 kB / 0.5039 GB, free: 78.62 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03121/0.7284, allocations: 6.222 MB / 0.51 GB, free: 77.65 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.7403, allocations: 5.639 MB / 0.5155 GB, free: 74.03 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.7407, allocations: 0.6668 MB / 0.5161 GB, free: 73.73 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/0.7435, allocations: 0.877 MB / 0.517 GB, free: 73.44 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02538/0.7689, allocations: 14.75 MB / 0.5314 GB, free: 59.73 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001686/0.7691, allocations: 7.906 kB / 0.5314 GB, free: 59.72 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000997/0.7701, allocations: 375.7 kB / 0.5318 GB, free: 59.36 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/0.7704, allocations: 0.4964 MB / 0.5322 GB, free: 58.86 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01923/0.7896, allocations: 13.56 MB / 0.5455 GB, free: 45.28 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05504/0.8447, allocations: 45.09 MB / 0.5895 GB, free: 15.27 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.8559, allocations: 11.71 MB / 0.6009 GB, free: 2.457 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/0.8605, allocations: 3.238 MB / 0.6041 GB, free: 15.22 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004225/0.861, allocations: 270 kB / 0.6044 GB, free: 14.92 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.861, allocations: 82.5 kB / 0.6044 GB, free: 14.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=421): time 5.931e-06/0.861, allocations: 4 kB / 0.6045 GB, free: 14.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.01978/0.8808, allocations: 9.702 MB / 0.6139 GB, free: 5.082 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.8809, allocations: 121.1 kB / 0.614 GB, free: 4.945 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004735/0.8857, allocations: 3.163 MB / 0.6171 GB, free: 1.762 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007453/0.8864, allocations: 93.64 kB / 0.6172 GB, free: 1.664 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.8885, allocations: 3.684 MB / 0.6208 GB, free: 13.93 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001596/0.8901, allocations: 1.429 MB / 0.6222 GB, free: 12.48 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.8918, allocations: 1.136 MB / 0.6233 GB, free: 11.33 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.8919, allocations: 301.1 kB / 0.6236 GB, free: 11.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004009/0.8959, allocations: 2.908 MB / 0.6264 GB, free: 8.121 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005284/0.9012, allocations: 4.98 MB / 0.6313 GB, free: 2.199 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.9113, allocations: 8.412 MB / 0.6395 GB, free: 8.828 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-05/0.9114, allocations: 20 kB / 0.6395 GB, free: 8.809 MB / 442.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01549/0.9269, allocations: 9.238 MB / 0.6486 GB, free: 15.52 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.927, allocations: 39.94 kB / 0.6486 GB, free: 15.48 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.917e-05/0.927, allocations: 64 kB / 0.6487 GB, free: 15.41 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/0.9301, allocations: 1.122 MB / 0.6498 GB, free: 14.29 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/0.9348, allocations: 1.291 MB / 0.651 GB, free: 12.99 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.9481, allocations: 9.934 MB / 0.6607 GB, free: 2.77 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/0.9524, allocations: 0.7472 MB / 0.6615 GB, free: 2.016 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006767/0.9531, allocations: 279.9 kB / 0.6617 GB, free: 1.742 MB / 458.8 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 (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.005056/0.9582, allocations: 3.424 MB / 0.6651 GB, free: 14.3 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007113/0.9589, allocations: 347.7 kB / 0.6654 GB, free: 13.96 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.9707, allocations: 7.046 MB / 0.6723 GB, free: 6.848 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008817/0.9795, allocations: 5.87 MB / 0.678 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.9796, allocations: 8 kB / 0.678 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/0.9796, allocations: 31.84 kB / 0.678 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2321/1.212, allocations: 15.54 MB / 0.6932 GB, free: 154.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.212, allocations: 14.78 kB / 0.6932 GB, free: 154.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.215, allocations: 0.7909 MB / 0.694 GB, free: 154 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/1.217, allocations: 1.033 MB / 0.695 GB, free: 153.8 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/1.218, allocations: 114.6 kB / 0.6951 GB, free: 153.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.229, allocations: 9.67 MB / 0.7046 GB, free: 148.3 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/1.229, allocations: 19.44 kB / 0.7046 GB, free: 148.3 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.249, allocations: 17.26 MB / 0.7214 GB, free: 136.5 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/1.251, allocations: 1.003 MB / 0.7224 GB, free: 135.5 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/1.252, allocations: 99.98 kB / 0.7225 GB, free: 135.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.254, allocations: 274.2 kB / 0.7228 GB, free: 135.2 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/1.255, allocations: 345.3 kB / 0.7231 GB, free: 134.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.255, allocations: 144 kB / 0.7232 GB, free: 134.7 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00239/1.257, allocations: 2.117 MB / 0.7253 GB, free: 132.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.31e-07/1.257, allocations: 0 / 0.7253 GB, free: 132.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005563/1.263, allocations: 2.391 MB / 0.7277 GB, free: 130.2 MB / 474.8 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 (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 Backend phase and start with SimCode phase: time 0.0006456/1.263, allocations: 296.1 kB / 0.7279 GB, free: 129.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009921/1.273, allocations: 7.574 MB / 0.7353 GB, free: 122.3 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.273, allocations: 3.938 kB / 0.7353 GB, free: 122.3 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00526/1.279, allocations: 3.73 MB / 0.739 GB, free: 118.6 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.283, allocations: 0.7598 MB / 0.7397 GB, free: 117.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/1.31, allocations: 22.52 MB / 0.7617 GB, free: 95.09 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007178/1.317, allocations: 6.054 MB / 0.7676 GB, free: 89 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006389/1.323, allocations: 2.158 MB / 0.7697 GB, free: 86.84 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/1.325, allocations: 323.4 kB / 0.77 GB, free: 86.52 MB / 474.8 MB Notification: Performance of SimCode: time 9.12e-07/1.325, allocations: 0 / 0.77 GB, free: 86.52 MB / 474.8 MB Notification: Performance of Templates: time 0.09048/1.415, allocations: 61.22 MB / 0.8298 GB, free: 25.58 MB / 474.8 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@2/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