Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.357/1.357, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 47.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2485, allocations: 53.36 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009681/0.2582, allocations: 7.919 MB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00538/0.2635, allocations: 2.507 MB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.2646, allocations: 71.56 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.2657, allocations: 472.8 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.2682, allocations: 0.8821 MB / 443.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.2692, allocations: 407.1 kB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.2732, allocations: 3.245 MB / 447.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.2752, allocations: 1.585 MB / 449 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.2771, allocations: 1.457 MB / 450.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.28, allocations: 1.716 MB / 452.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000582/0.2806, allocations: 360 kB / 452.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.2817, allocations: 499.9 kB / 453 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.2825, allocations: 0.9153 MB / 453.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.2843, allocations: 1.606 MB / 455.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.2893, allocations: 4.718 MB / 460.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2893, allocations: 0 / 460.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2893, allocations: 0 / 460.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.294e-05/0.2894, allocations: 0 / 460.3 MB, free: 10.36 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.008291/0.2977, allocations: 3.655 MB / 463.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2977, allocations: 12.03 kB / 463.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.42e-05/0.2978, allocations: 81.08 kB / 464 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005917/0.2984, allocations: 437.1 kB / 464.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003774/0.3022, allocations: 0.7445 MB / 465.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.3055, allocations: 1.799 MB / 467 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3057, allocations: 201.5 kB / 467.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/0.3061, allocations: 275.9 kB / 467.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/0.3123, allocations: 3.623 MB / 471.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.3124, allocations: 0 / 471.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.3127, allocations: 112 kB / 471.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.3128, allocations: 109.4 kB / 471.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005773/0.3185, allocations: 3.109 MB / 474.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/0.3367, allocations: 10.14 MB / 484.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.3407, allocations: 1.786 MB / 486.3 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.3421, allocations: 0.8766 MB / 487.2 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004309/0.3464, allocations: 2.218 MB / 489.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.3465, allocations: 43.44 kB / 489.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 2.295e-06/0.3465, allocations: 0 / 489.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=171): time 0.01604/0.3625, allocations: 6.903 MB / 496.4 MB, free: 5.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.3626, allocations: 103.1 kB / 496.5 MB, free: 5.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.3649, allocations: 1.404 MB / 497.9 MB, free: 4.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.365, allocations: 57.7 kB / 497.9 MB, free: 4.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009199/0.3659, allocations: 1.2 MB / 499.1 MB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/0.3665, allocations: 0.6042 MB / 499.7 MB, free: 2.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005138/0.367, allocations: 295.5 kB / 0.4883 GB, free: 1.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3671, allocations: 313.1 kB / 0.4886 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.3687, allocations: 0.8861 MB / 0.4894 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.3705, allocations: 1.205 MB / 0.4906 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.3739, allocations: 2.194 MB / 0.4928 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3739, allocations: 4 kB / 0.4928 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005442/0.3794, allocations: 3.056 MB / 0.4958 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3794, allocations: 10.5 kB / 0.4958 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.3794, allocations: 12 kB / 0.4958 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.3814, allocations: 0.7913 MB / 0.4965 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3825, allocations: 267.6 kB / 0.4968 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/0.3987, allocations: 12.95 MB / 0.5094 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4001, allocations: 91.94 kB / 0.5095 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.4003, allocations: 67.98 kB / 0.5096 GB, free: 11.4 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.001775/0.4021, allocations: 0.9422 MB / 0.5105 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000497/0.4026, allocations: 163 kB / 0.5107 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.408, allocations: 2.798 MB / 0.5134 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.408, allocations: 23.98 kB / 0.5134 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/0.408, allocations: 12 kB / 0.5134 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.4081, allocations: 11.97 kB / 0.5135 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.419, allocations: 5.771 MB / 0.5191 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.419, allocations: 0 / 0.5191 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.4199, allocations: 187.9 kB / 0.5193 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.4217, allocations: 0.7923 MB / 0.52 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.4219, allocations: 47.97 kB / 0.5201 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.4375, allocations: 12.79 MB / 0.5326 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4375, allocations: 3.984 kB / 0.5326 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1954/0.6329, allocations: 4.126 MB / 0.5366 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.6335, allocations: 174.8 kB / 0.5368 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.6338, allocations: 38.34 kB / 0.5368 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6349, allocations: 113.4 kB / 0.5369 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/0.6353, allocations: 173.1 kB / 0.5371 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6354, allocations: 52.88 kB / 0.5371 GB, free: 99.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.6367, allocations: 0.9805 MB / 0.5381 GB, free: 98.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6367, allocations: 0 / 0.5381 GB, free: 98.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001921/0.6386, allocations: 0.6104 MB / 0.5387 GB, free: 98.91 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.005967/0.6446, allocations: 4.746 MB / 0.5433 GB, free: 97.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.6485, allocations: 2.991 MB / 0.5462 GB, free: 96.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.6485, allocations: 0 / 0.5462 GB, free: 96.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.651, allocations: 1.975 MB / 0.5482 GB, free: 95.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6525, allocations: 337.7 kB / 0.5485 GB, free: 95.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/0.6753, allocations: 19.65 MB / 0.5677 GB, free: 79.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.6767, allocations: 2.322 MB / 0.5699 GB, free: 77.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009111/0.6776, allocations: 397.2 kB / 0.5703 GB, free: 77.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008143/0.6785, allocations: 0.9672 MB / 0.5713 GB, free: 76.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6785, allocations: 0 / 0.5713 GB, free: 76.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07809/0.7565, allocations: 49.69 MB / 0.6198 GB, free: 26.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.46/23.22, allocations: 15.44 kB / 0.6198 GB, free: 26.79 MB / 446.1 MB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 26.777599235996604]