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.001627/0.001627, allocations: 96.25 kB / 20.96 MB, free: 3.461 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.001724/0.001724, allocations: 156.9 kB / 24.27 MB, free: 164 kB / 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 1.445/1.445, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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 4.428e-06/4.428e-06, allocations: 4 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.241e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01032/0.01035, allocations: 6.936 MB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00565/0.016, allocations: 2.413 MB / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.01726, allocations: 71.56 kB / 281.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.01872, allocations: 456.8 kB / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.02177, allocations: 0.8969 MB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.023, allocations: 398 kB / 283.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004993/0.028, allocations: 3.338 MB / 286.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.03081, allocations: 1.552 MB / 288.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1142/0.145, allocations: 2.099 MB / 290.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.1477, allocations: 1.529 MB / 291.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.1489, allocations: 359.2 kB / 292.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.1506, allocations: 489.7 kB / 292.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.1519, allocations: 0.9326 MB / 293.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.1535, allocations: 1.101 MB / 294.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.1582, allocations: 4.774 MB / 299.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1582, allocations: 6.719 kB / 299.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1582, allocations: 2.828 kB / 299.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.674e-05/0.1583, allocations: 0 / 299.5 MB, free: 15.55 MB / 266.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.007702/0.166, allocations: 3.615 MB / 303.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.166, allocations: 13.42 kB / 303.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.1702, allocations: 1.078 MB / 304.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.1731, allocations: 1.85 MB / 306.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1732, allocations: 200.6 kB / 306.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.1736, allocations: 271.2 kB / 306.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005063/0.1786, allocations: 3.852 MB / 310.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/0.1787, allocations: 2.469 kB / 310.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.1789, allocations: 109.8 kB / 310.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.179, allocations: 103 kB / 310.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/0.183, allocations: 3.097 MB / 313.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.1958, allocations: 9.114 MB / 322.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.1999, allocations: 1.752 MB / 324.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.2014, allocations: 0.874 MB / 325.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004268/0.2057, allocations: 2.006 MB / 327.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.2057, allocations: 50.34 kB / 327.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.156e-06/0.2057, allocations: 0 / 327.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.006822/0.2125, allocations: 2.53 MB / 330 MB, free: 6.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.2126, allocations: 90.11 kB / 330.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.2148, allocations: 1.371 MB / 331.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.985e-05/0.2149, allocations: 41.7 kB / 331.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.2159, allocations: 1.202 MB / 332.7 MB, free: 3.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.2163, allocations: 377.9 kB / 333.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.2167, allocations: 218.9 kB / 333.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2169, allocations: 353.9 kB / 333.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.2182, allocations: 0.5647 MB / 334.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.2195, allocations: 0.8482 MB / 335.1 MB, free: 1.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.2219, allocations: 1.456 MB / 336.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.2219, allocations: 7.938 kB / 336.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003929/0.2258, allocations: 2.01 MB / 338.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2259, allocations: 8 kB / 338.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.2259, allocations: 8 kB / 338.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.2275, allocations: 0.4914 MB / 339 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/0.2283, allocations: 218.1 kB / 339.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008622/0.2369, allocations: 6.234 MB / 345.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.238, allocations: 135.1 kB / 345.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.2381, allocations: 55.98 kB / 345.7 MB, free: 6.469 MB / 298.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,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001646/0.2397, allocations: 0.873 MB / 346.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.2401, allocations: 175 kB / 346.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.2434, allocations: 1.636 MB / 348.4 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2434, allocations: 12 kB / 348.4 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.2434, allocations: 8 kB / 348.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2434, allocations: 3.984 kB / 348.4 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.2498, allocations: 3.379 MB / 351.8 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2498, allocations: 0 / 351.8 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.2504, allocations: 139.5 kB / 351.9 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.252, allocations: 492.5 kB / 352.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-05/0.252, allocations: 31.98 kB / 352.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008513/0.2606, allocations: 6.214 MB / 358.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2606, allocations: 4.062 kB / 358.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.2654, allocations: 2.495 MB / 361.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.2659, allocations: 178.8 kB / 361.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.266, allocations: 31.98 kB / 361.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/0.2668, allocations: 79.92 kB / 361.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.2671, allocations: 100.5 kB / 361.5 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.2672, allocations: 35.98 kB / 361.5 MB, free: 6.422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001524/0.2687, allocations: 0.9474 MB / 362.5 MB, free: 5.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2687, allocations: 4 kB / 362.5 MB, free: 5.465 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002166/0.2709, allocations: 0.6876 MB / 363.2 MB, free: 4.777 MB / 314.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.0003533/0.2712, allocations: 157.9 kB / 363.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.2746, allocations: 1.745 MB / 365.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2746, allocations: 4.125 kB / 365.1 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.2766, allocations: 1.101 MB / 366.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.2783, allocations: 287.8 kB / 366.5 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00858/0.2869, allocations: 4.646 MB / 371.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.2889, allocations: 1.621 MB / 372.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.29, allocations: 334.7 kB / 373.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.2903, allocations: 88.47 kB / 373.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2903, allocations: 8 kB / 373.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of Templates: time 0.04091/0.3312, allocations: 20.49 MB / 393.6 MB, free: 6.582 MB / 346.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=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.0875897370278835]