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.001513/0.001513, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3273, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0239/0.3512, allocations: 16.61 MB / 425.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009317/0.3606, allocations: 4.692 MB / 430.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3631, allocations: 131.6 kB / 430.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.3784, allocations: 7.171 MB / 437.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006859/0.3853, allocations: 1.951 MB / 439.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.3893, allocations: 1.541 MB / 441.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01227/0.4016, allocations: 9.497 MB / 450.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03246/0.4341, allocations: 20.84 MB / 471.7 MB, free: 2.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008834/0.443, allocations: 5.257 MB / 477 MB, free: 13.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00907/0.4521, allocations: 5.903 MB / 482.9 MB, free: 7.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004042/0.4562, allocations: 1.363 MB / 484.2 MB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006435/0.4626, allocations: 1.671 MB / 485.9 MB, free: 4.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004513/0.4672, allocations: 2.786 MB / 488.7 MB, free: 1.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0105/0.4777, allocations: 5.362 MB / 494 MB, free: 12.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01985/0.4976, allocations: 18.36 MB / 0.5004 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.4976, allocations: 4 kB / 0.5004 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.4976, allocations: 0 / 0.5004 GB, free: 10.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004751/0.4981, allocations: 3.938 kB / 0.5004 GB, free: 10.02 MB / 430.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.03775/0.5359, allocations: 12.13 MB / 0.5122 GB, free: 13.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5359, allocations: 8.031 kB / 0.5122 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05213/0.5881, allocations: 6.272 MB / 0.5184 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.022/0.6101, allocations: 5.819 MB / 0.5241 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/0.6112, allocations: 0.6665 MB / 0.5247 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004841/0.6161, allocations: 0.8788 MB / 0.5256 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05161/0.6678, allocations: 14.71 MB / 0.5399 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004332/0.6682, allocations: 7.906 kB / 0.5399 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003584/0.6718, allocations: 372 kB / 0.5403 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005203/0.6724, allocations: 499.3 kB / 0.5408 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4166/1.089, allocations: 13.53 MB / 0.554 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06249/1.152, allocations: 44.54 MB / 0.5975 GB, free: 68.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0099/1.161, allocations: 11.64 MB / 0.6088 GB, free: 55.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/1.165, allocations: 3.171 MB / 0.6119 GB, free: 52.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/1.165, allocations: 264.7 kB / 0.6122 GB, free: 52.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/1.165, allocations: 74.56 kB / 0.6123 GB, free: 51.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.392e-06/1.165, allocations: 4 kB / 0.6123 GB, free: 51.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01689/1.182, allocations: 9.575 MB / 0.6216 GB, free: 42.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/1.182, allocations: 121 kB / 0.6217 GB, free: 42.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004078/1.187, allocations: 3.16 MB / 0.6248 GB, free: 39.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004778/1.187, allocations: 93.7 kB / 0.6249 GB, free: 38.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/1.188, allocations: 3.69 MB / 0.6285 GB, free: 35.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009627/1.189, allocations: 1.397 MB / 0.6299 GB, free: 33.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/1.191, allocations: 1.12 MB / 0.631 GB, free: 32.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/1.191, allocations: 301.1 kB / 0.6313 GB, free: 32.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/1.194, allocations: 2.838 MB / 0.634 GB, free: 29.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/1.198, allocations: 4.9 MB / 0.6388 GB, free: 23.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007656/1.206, allocations: 8.259 MB / 0.6469 GB, free: 14.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.475e-05/1.206, allocations: 16 kB / 0.6469 GB, free: 14.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01232/1.218, allocations: 9.107 MB / 0.6558 GB, free: 5.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/1.218, allocations: 32 kB / 0.6558 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.695e-05/1.219, allocations: 68 kB / 0.6559 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/1.221, allocations: 1.146 MB / 0.657 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/1.225, allocations: 1.291 MB / 0.6583 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.239, allocations: 10.81 MB / 0.6688 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/1.243, allocations: 0.7279 MB / 0.6695 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/1.244, allocations: 272 kB / 0.6698 GB, free: 6.781 MB / 478.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.005965/1.25, allocations: 3.435 MB / 0.6732 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009122/1.251, allocations: 347.7 kB / 0.6735 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.263, allocations: 6.901 MB / 0.6802 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009322/1.272, allocations: 5.737 MB / 0.6858 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/1.273, allocations: 16 kB / 0.6858 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/1.273, allocations: 23.91 kB / 0.6859 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.297, allocations: 15.23 MB / 0.7007 GB, free: 6.883 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.297, allocations: 12 kB / 0.7008 GB, free: 6.871 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.3, allocations: 0.788 MB / 0.7015 GB, free: 6.082 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.303, allocations: 1.06 MB / 0.7026 GB, free: 5.016 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/1.303, allocations: 108 kB / 0.7027 GB, free: 4.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/1.317, allocations: 10.57 MB / 0.713 GB, free: 10.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/1.317, allocations: 15.94 kB / 0.713 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/1.334, allocations: 10.68 MB / 0.7234 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/1.337, allocations: 0.9951 MB / 0.7244 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/1.337, allocations: 96.19 kB / 0.7245 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.339, allocations: 275.7 kB / 0.7247 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000655/1.34, allocations: 343.3 kB / 0.7251 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.34, allocations: 144 kB / 0.7252 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002964/1.343, allocations: 2.125 MB / 0.7273 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.343, allocations: 0 / 0.7273 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005837/1.349, allocations: 2.23 MB / 0.7295 GB, free: 8.906 MB / 0.5294 GB 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.0006812/1.35, allocations: 293 kB / 0.7297 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.361, allocations: 7.447 MB / 0.737 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.361, allocations: 0 / 0.737 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2392/1.601, allocations: 3.653 MB / 0.7406 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.605, allocations: 0.7917 MB / 0.7414 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.631, allocations: 15.96 MB / 0.7569 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006297/1.638, allocations: 5.934 MB / 0.7627 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004965/1.643, allocations: 2.158 MB / 0.7648 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009479/1.644, allocations: 315.9 kB / 0.7651 GB, free: 169 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/1.644, allocations: 0 / 0.7651 GB, free: 169 MB / 0.5294 GB Notification: Performance of Templates: time 0.08727/1.731, allocations: 58.49 MB / 0.8223 GB, free: 114.2 MB / 0.5294 GB 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