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.001576/0.001576, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001736/0.001736, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.436/1.436, allocations: 230.5 MB / 258.2 MB, free: 8.031 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 59.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2677, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01003/0.2777, allocations: 7.92 MB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005491/0.2832, allocations: 2.518 MB / 442.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2842, allocations: 67.62 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2853, allocations: 464.8 kB / 442.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.2881, allocations: 0.8821 MB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.2893, allocations: 414.3 kB / 444.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.2938, allocations: 3.253 MB / 447.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.296, allocations: 1.576 MB / 449 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.2982, allocations: 1.46 MB / 450.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.3008, allocations: 1.716 MB / 452.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005541/0.3013, allocations: 364 kB / 452.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.3024, allocations: 491.9 kB / 453.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.3033, allocations: 0.9153 MB / 454 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.3054, allocations: 1.606 MB / 455.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.311, allocations: 4.718 MB / 460.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.311, allocations: 0 / 460.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.311, allocations: 0 / 460.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001166/0.3111, allocations: 0 / 460.3 MB, free: 10.21 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.00943/0.3205, allocations: 3.655 MB / 464 MB, free: 6.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3206, allocations: 12.03 kB / 464 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001217/0.3207, allocations: 77.09 kB / 464 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006642/0.3214, allocations: 441.1 kB / 464.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/0.3254, allocations: 0.7484 MB / 465.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.3289, allocations: 1.795 MB / 467 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.3291, allocations: 205.5 kB / 467.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/0.3296, allocations: 267.9 kB / 467.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006451/0.336, allocations: 3.627 MB / 471.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.3361, allocations: 0 / 471.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.3363, allocations: 108 kB / 471.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.3365, allocations: 113.4 kB / 471.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005596/0.3421, allocations: 3.105 MB / 474.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.3614, allocations: 10.15 MB / 484.6 MB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/0.3656, allocations: 1.781 MB / 486.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.367, allocations: 0.8709 MB / 487.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004344/0.3714, allocations: 2.227 MB / 489.5 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.3715, allocations: 43.44 kB / 489.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 3.416e-06/0.3715, allocations: 0 / 489.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=171): time 0.01618/0.3876, allocations: 6.903 MB / 496.4 MB, free: 5.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.3877, allocations: 99.11 kB / 496.5 MB, free: 5.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.3898, allocations: 1.404 MB / 497.9 MB, free: 3.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.39, allocations: 57.7 kB / 498 MB, free: 3.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009645/0.391, allocations: 1.2 MB / 499.2 MB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/0.3916, allocations: 0.6042 MB / 499.8 MB, free: 2.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.392, allocations: 299.5 kB / 0.4883 GB, free: 1.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3922, allocations: 309.1 kB / 0.4886 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.3937, allocations: 0.8861 MB / 0.4895 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.3956, allocations: 1.204 MB / 0.4907 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.3991, allocations: 2.194 MB / 0.4928 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.3991, allocations: 4 kB / 0.4928 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006073/0.4052, allocations: 3.06 MB / 0.4958 GB, free: 9.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.4052, allocations: 8 kB / 0.4958 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.4052, allocations: 8 kB / 0.4958 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.4072, allocations: 0.7873 MB / 0.4966 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4084, allocations: 275.6 kB / 0.4969 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.4249, allocations: 12.94 MB / 0.5095 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.4262, allocations: 95.94 kB / 0.5096 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.4263, allocations: 63.98 kB / 0.5096 GB, free: 11.26 MB / 430.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 (135): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,19,100.0%), (2,19,100.0%), (2,21,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.428, allocations: 0.946 MB / 0.5106 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/0.4284, allocations: 163 kB / 0.5107 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.4339, allocations: 2.802 MB / 0.5135 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/0.4339, allocations: 23.88 kB / 0.5135 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/0.434, allocations: 16 kB / 0.5135 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.434, allocations: 7.969 kB / 0.5135 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.4448, allocations: 5.763 MB / 0.5191 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4448, allocations: 0 / 0.5191 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/0.4456, allocations: 199.9 kB / 0.5193 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.4475, allocations: 0.7753 MB / 0.5201 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.4477, allocations: 39.98 kB / 0.5201 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.4638, allocations: 12.83 MB / 0.5326 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4638, allocations: 0 / 0.5326 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2053/0.6691, allocations: 4.117 MB / 0.5367 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/0.6697, allocations: 177.3 kB / 0.5368 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.6699, allocations: 39.95 kB / 0.5369 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.671, allocations: 115.7 kB / 0.537 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/0.6714, allocations: 173.2 kB / 0.5371 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6716, allocations: 49.58 kB / 0.5372 GB, free: 98.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001305/0.6729, allocations: 0.9801 MB / 0.5382 GB, free: 98.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6729, allocations: 0 / 0.5382 GB, free: 98.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002052/0.6749, allocations: 0.612 MB / 0.5387 GB, free: 98.17 MB / 446.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 (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,20,100.0%), (2,21,100.0%), (2,18,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.006092/0.681, allocations: 4.749 MB / 0.5434 GB, free: 96.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.6851, allocations: 2.996 MB / 0.5463 GB, free: 95.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6851, allocations: 0 / 0.5463 GB, free: 95.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.6876, allocations: 1.966 MB / 0.5482 GB, free: 94.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.6892, allocations: 328 kB / 0.5485 GB, free: 94.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.7113, allocations: 19.65 MB / 0.5677 GB, free: 78.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.7126, allocations: 2.322 MB / 0.57 GB, free: 76.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008765/0.7135, allocations: 405.2 kB / 0.5704 GB, free: 76.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/0.7143, allocations: 0.9523 MB / 0.5713 GB, free: 75.11 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7143, allocations: 0 / 0.5713 GB, free: 75.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/0.8176, allocations: 49.68 MB / 0.6198 GB, free: 25.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.75/24.57, allocations: 8.5 kB / 0.6198 GB, free: 25.74 MB / 446.1 MB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.428459880989976]