Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002147/0.002147, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.91 kB / 378.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009798/0.2337, allocations: 6.942 MB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005208/0.239, allocations: 2.381 MB / 441 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.2396, allocations: 75.56 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.2406, allocations: 460.9 kB / 441.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2429, allocations: 0.8587 MB / 442.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.2438, allocations: 399.2 kB / 442.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003968/0.2477, allocations: 3.25 MB / 446 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.2498, allocations: 1.533 MB / 447.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.2517, allocations: 1.46 MB / 449 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.2542, allocations: 1.705 MB / 450.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.2548, allocations: 356 kB / 451 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.2558, allocations: 491.8 kB / 451.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008943/0.2567, allocations: 0.9075 MB / 452.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.2583, allocations: 1.303 MB / 453.7 MB, free: 292 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.2636, allocations: 4.745 MB / 458.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2636, allocations: 0 / 458.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2636, allocations: 0 / 458.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.7e-05/0.2637, allocations: 0 / 458.5 MB, free: 11.53 MB / 366.1 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.009125/0.2728, allocations: 3.646 MB / 462.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2728, allocations: 11.98 kB / 462.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.2768, allocations: 0.7523 MB / 462.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.2808, allocations: 1.795 MB / 464.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.281, allocations: 197.7 kB / 464.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004449/0.2815, allocations: 268.1 kB / 465.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006448/0.2879, allocations: 3.836 MB / 469 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.288, allocations: 8 kB / 469 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.2882, allocations: 112 kB / 469.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.2883, allocations: 105.4 kB / 469.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005463/0.2938, allocations: 3.097 MB / 472.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.3106, allocations: 8.92 MB / 481.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/0.3147, allocations: 1.752 MB / 483 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.3161, allocations: 0.8687 MB / 483.8 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004054/0.3202, allocations: 2.008 MB / 485.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.3202, allocations: 43.44 kB / 485.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.3202, allocations: 0 / 485.9 MB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006413/0.3267, allocations: 2.491 MB / 488.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.3267, allocations: 89.98 kB / 488.5 MB, free: 12.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.3287, allocations: 1.367 MB / 489.8 MB, free: 11.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.3287, allocations: 41.7 kB / 489.9 MB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009595/0.3297, allocations: 1.21 MB / 491.1 MB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.33, allocations: 376.8 kB / 491.4 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.3304, allocations: 218.9 kB / 491.7 MB, free: 9.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3306, allocations: 357.9 kB / 492 MB, free: 9.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.3316, allocations: 0.5608 MB / 492.6 MB, free: 8.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3328, allocations: 0.849 MB / 493.4 MB, free: 7.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.3351, allocations: 1.463 MB / 494.9 MB, free: 6.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3351, allocations: 4 kB / 494.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003572/0.3387, allocations: 1.954 MB / 496.8 MB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3387, allocations: 8 kB / 496.8 MB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3387, allocations: 8 kB / 496.8 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3398, allocations: 404.3 kB / 497.2 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.3406, allocations: 219.6 kB / 497.5 MB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008249/0.3489, allocations: 6.2 MB / 0.4919 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.3498, allocations: 127.1 kB / 0.492 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/0.3499, allocations: 59.92 kB / 0.492 GB, free: 13.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001448/0.3513, allocations: 0.8681 MB / 0.4929 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.3516, allocations: 143.1 kB / 0.493 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.3547, allocations: 1.636 MB / 0.4946 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.3547, allocations: 8 kB / 0.4946 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3548, allocations: 8 kB / 0.4946 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3548, allocations: 3.984 kB / 0.4946 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.361, allocations: 3.373 MB / 0.4979 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.361, allocations: 0 / 0.4979 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.3616, allocations: 131.8 kB / 0.4981 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/0.3625, allocations: 393.6 kB / 0.4984 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.3626, allocations: 35.92 kB / 0.4985 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/0.3705, allocations: 6.177 MB / 0.5045 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3705, allocations: 4.031 kB / 0.5045 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.3747, allocations: 2.478 MB / 0.5069 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.3751, allocations: 170.9 kB / 0.5071 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.3753, allocations: 27.98 kB / 0.5071 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/0.3761, allocations: 87.91 kB / 0.5072 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.3763, allocations: 100.6 kB / 0.5073 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/0.3764, allocations: 35.98 kB / 0.5073 GB, free: 13.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001396/0.3778, allocations: 0.9435 MB / 0.5082 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 0.5082 GB, free: 12.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001853/0.3796, allocations: 0.6891 MB / 0.5089 GB, free: 11.42 MB / 430.1 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,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.3799, allocations: 155 kB / 0.5091 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.383, allocations: 1.732 MB / 0.5108 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.383, allocations: 7.938 kB / 0.5108 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.3849, allocations: 1.086 MB / 0.5118 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.3863, allocations: 291.8 kB / 0.5121 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.3937, allocations: 4.681 MB / 0.5167 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.3956, allocations: 1.621 MB / 0.5183 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008976/0.3965, allocations: 342.6 kB / 0.5186 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.3968, allocations: 83.42 kB / 0.5187 GB, free: 1.254 MB / 430.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3968, allocations: 0 / 0.5187 GB, free: 1.254 MB / 430.1 MB Notification: Performance of Templates: time 0.217/0.6137, allocations: 23.36 MB / 0.5415 GB, free: 100.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.386099988594651]