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.0009585/0.0009585, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.0008969/0.0008969, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9142/0.9142, allocations: 177 MB / 205.9 MB, free: 4.414 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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 1.553e-06/1.553e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.077e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007504/0.007535, allocations: 7.485 MB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.01196, allocations: 2.449 MB / 284.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.01297, allocations: 67.56 kB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009142/0.01388, allocations: 476.7 kB / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.01601, allocations: 0.8814 MB / 285.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.01679, allocations: 395.1 kB / 285.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.01985, allocations: 3.346 MB / 289.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.02154, allocations: 1.556 MB / 290.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.0243, allocations: 2.429 MB / 293.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.02653, allocations: 1.813 MB / 295 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006916/0.02722, allocations: 356 kB / 295.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008955/0.02812, allocations: 475.7 kB / 295.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006766/0.02879, allocations: 0.9503 MB / 296.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.02993, allocations: 1.115 MB / 297.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.03245, allocations: 2.784 MB / 300.7 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.03246, allocations: 0 / 300.7 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.03246, allocations: 0 / 300.7 MB, free: 9.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.625e-05/0.0325, allocations: 0 / 300.7 MB, free: 9.582 MB / 282.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.004142/0.03665, allocations: 3.631 MB / 304.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.03668, allocations: 12.02 kB / 304.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.03872, allocations: 0.9083 MB / 305.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.04031, allocations: 1.479 MB / 306.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.04041, allocations: 201.7 kB / 306.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.04067, allocations: 268.3 kB / 307.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.04293, allocations: 2.106 MB / 309.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.04297, allocations: 3.938 kB / 309.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.04313, allocations: 112 kB / 309.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.0432, allocations: 105.4 kB / 309.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.0443, allocations: 0.7393 MB / 310.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007865/0.05216, allocations: 7.614 MB / 317.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.05384, allocations: 1.224 MB / 319 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.05426, allocations: 406.1 kB / 319.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/0.05611, allocations: 1.682 MB / 321.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.05615, allocations: 54.31 kB / 321.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.525e-06/0.05615, allocations: 0 / 321.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.002565/0.05871, allocations: 1.458 MB / 322.6 MB, free: 3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.05875, allocations: 94.05 kB / 322.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/0.05962, allocations: 1.128 MB / 323.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.05968, allocations: 45.7 kB / 323.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.06027, allocations: 1.295 MB / 325.2 MB, free: 400 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.06048, allocations: 396.7 kB / 325.6 MB, free: 0 / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.06072, allocations: 244.4 kB / 325.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.06089, allocations: 0.5472 MB / 326.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.06107, allocations: 130.5 kB / 326.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.06147, allocations: 0.5451 MB / 327 MB, free: 14.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.06213, allocations: 0.7731 MB / 327.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.06214, allocations: 3.938 kB / 327.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001217/0.06335, allocations: 1.058 MB / 328.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.06337, allocations: 8 kB / 328.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.06339, allocations: 8 kB / 328.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.06406, allocations: 362.7 kB / 329.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.06447, allocations: 207.6 kB / 329.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.06837, allocations: 5.624 MB / 335.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.06895, allocations: 115.1 kB / 335.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.069, allocations: 39.98 kB / 335.2 MB, free: 5.781 MB / 314.7 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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007011/0.0697, allocations: 224.3 kB / 335.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.06989, allocations: 179.1 kB / 335.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.07099, allocations: 0.8753 MB / 336.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.071, allocations: 15.94 kB / 336.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.071, allocations: 8 kB / 336.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.07101, allocations: 7.969 kB / 336.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.07449, allocations: 2.807 MB / 339.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.07449, allocations: 8.031 kB / 339.3 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.07477, allocations: 123.8 kB / 339.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006358/0.07541, allocations: 367 kB / 339.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.07546, allocations: 27.98 kB / 339.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.07922, allocations: 5.625 MB / 345.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.07923, allocations: 4 kB / 345.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.08069, allocations: 1.334 MB / 346.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.08088, allocations: 150.8 kB / 347 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.08098, allocations: 24 kB / 347 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.08133, allocations: 59.97 kB / 347 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.08147, allocations: 104.6 kB / 347.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.08152, allocations: 27.98 kB / 347.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000492/0.08201, allocations: 0.6114 MB / 347.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08201, allocations: 0 / 347.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001574/0.08358, allocations: 0.6852 MB / 348.5 MB, free: 8.141 MB / 330.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,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.0002338/0.08381, allocations: 159.1 kB / 348.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.08511, allocations: 1.167 MB / 349.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.08511, allocations: 0 / 349.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.08589, allocations: 0.8946 MB / 350.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.08676, allocations: 296.4 kB / 351 MB, free: 5.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.09172, allocations: 3.977 MB / 354.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.0923, allocations: 0.7652 MB / 355.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.09274, allocations: 166.9 kB / 355.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.09324, allocations: 374 kB / 356.2 MB, free: 152 kB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.09324, allocations: 4 kB / 356.2 MB, free: 148 kB / 330.7 MB Notification: Performance of Templates: time 0.1337/0.2269, allocations: 22.19 MB / 378.4 MB, free: 62.56 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.362149655818939]