Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 180 kB / 8.477 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.2 MB / 214.1 MB, free: 5.172 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 94.23 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.448e-06/9.488e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 47.57 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4593, allocations: 86.98 MB / 449.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4596, allocations: 78.23 kB / 449.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1247/0.5843, allocations: 53.03 MB / 0.4909 GB, free: 7.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001651/0.5845, allocations: 63.14 kB / 0.4909 GB, free: 7.438 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007938/0.5925, allocations: 2.736 MB / 0.4936 GB, free: 4.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5925, allocations: 11.97 kB / 0.4936 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.5962, allocations: 0.5976 MB / 0.4942 GB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.6006, allocations: 1.834 MB / 0.496 GB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.6007, allocations: 84 kB / 0.4961 GB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/0.6011, allocations: 156 kB / 0.4962 GB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005162/0.6062, allocations: 2.705 MB / 0.4988 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.6117, allocations: 3.13 MB / 0.5019 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.6118, allocations: 0 / 0.5019 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.612, allocations: 7.906 kB / 0.5019 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.6121, allocations: 109.3 kB / 0.502 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.6307, allocations: 10.1 MB / 0.5119 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.6319, allocations: 0.8108 MB / 0.5127 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.6333, allocations: 0.9265 MB / 0.5136 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004413/0.6377, allocations: 2.554 MB / 0.5161 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6378, allocations: 47.56 kB / 0.5161 GB, free: 13.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 3.396e-06/0.6378, allocations: 0 / 0.5161 GB, free: 13.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003139/0.6409, allocations: 1.595 MB / 0.5177 GB, free: 11.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.641, allocations: 94.09 kB / 0.5178 GB, free: 11.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.6432, allocations: 1.137 MB / 0.5189 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.6433, allocations: 25.7 kB / 0.5189 GB, free: 10.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.644, allocations: 0.9532 MB / 0.5198 GB, free: 9.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.6444, allocations: 394.1 kB / 0.5202 GB, free: 8.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/0.6444, allocations: 0 / 0.5202 GB, free: 8.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6446, allocations: 357.9 kB / 0.5205 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/0.6455, allocations: 0.596 MB / 0.5211 GB, free: 7.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.6466, allocations: 0.8655 MB / 0.522 GB, free: 6.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.6481, allocations: 0.783 MB / 0.5227 GB, free: 6.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.6481, allocations: 0 / 0.5227 GB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003726/0.6518, allocations: 1.999 MB / 0.5247 GB, free: 4.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6518, allocations: 4 kB / 0.5247 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.6519, allocations: 8 kB / 0.5247 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.6529, allocations: 408.5 kB / 0.5251 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.654, allocations: 247.7 kB / 0.5253 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/0.6609, allocations: 5.646 MB / 0.5308 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.6624, allocations: 122.7 kB / 0.5309 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.6627, allocations: 60.05 kB / 0.531 GB, free: 13.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003738/0.6631, allocations: 124.7 kB / 0.5311 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/0.6636, allocations: 138.3 kB / 0.5313 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.6672, allocations: 1.729 MB / 0.5329 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.6673, allocations: 12 kB / 0.533 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.6673, allocations: 4 kB / 0.533 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.6673, allocations: 15.97 kB / 0.533 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009441/0.6768, allocations: 3.911 MB / 0.5368 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6768, allocations: 4 kB / 0.5368 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.6776, allocations: 164 kB / 0.537 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.6788, allocations: 398.2 kB / 0.5373 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.6789, allocations: 23.97 kB / 0.5374 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007356/0.6863, allocations: 5.637 MB / 0.5429 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.6864, allocations: 7.938 kB / 0.5429 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004629/0.691, allocations: 2.682 MB / 0.5455 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.6916, allocations: 243.1 kB / 0.5457 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/0.6921, allocations: 15.98 kB / 0.5457 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.6933, allocations: 83.92 kB / 0.5458 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.6935, allocations: 68.89 kB / 0.5459 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.6937, allocations: 35.98 kB / 0.5459 GB, free: 13.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00185/0.6955, allocations: 0.8686 MB / 0.5468 GB, free: 12.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002556/0.6981, allocations: 0.6258 MB / 0.5474 GB, free: 12.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004491/0.6985, allocations: 154.2 kB / 0.5475 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.7018, allocations: 1.729 MB / 0.5492 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.7018, allocations: 0 / 0.5492 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.7037, allocations: 1.055 MB / 0.5502 GB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.7054, allocations: 228.5 kB / 0.5505 GB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/0.7148, allocations: 3.785 MB / 0.5542 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003136/0.7179, allocations: 2.302 MB / 0.5564 GB, free: 2.809 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.7179, allocations: 0 / 0.5564 GB, free: 2.809 MB / 410.7 MB Notification: Performance of Templates: time 0.1876/0.9056, allocations: 20.19 MB / 0.5761 GB, free: 154.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches