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: 105.1 kB / 21.22 MB, free: 0.6289 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.001358/0.001358, allocations: 215.8 kB / 24.52 MB, free: 3.91 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.361/1.361, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001445/0.001445, allocations: 51.92 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2328, allocations: 53.38 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008605/0.2414, allocations: 6.93 MB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.2459, allocations: 2.367 MB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009601/0.2469, allocations: 75.56 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.2479, allocations: 468.8 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.2502, allocations: 0.8626 MB / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.2511, allocations: 395.2 kB / 443 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.2549, allocations: 3.257 MB / 446.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.2569, allocations: 1.584 MB / 447.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.2587, allocations: 1.449 MB / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.2611, allocations: 1.72 MB / 451 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005362/0.2616, allocations: 360 kB / 451.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2626, allocations: 491.9 kB / 451.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008475/0.2635, allocations: 0.9153 MB / 452.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.265, allocations: 1.303 MB / 454 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.2698, allocations: 4.738 MB / 458.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2698, allocations: 0 / 458.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2698, allocations: 0 / 458.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.873e-05/0.2699, allocations: 0 / 458.7 MB, free: 11.62 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.008146/0.2781, allocations: 3.655 MB / 462.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2781, allocations: 12.03 kB / 462.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.92e-05/0.2782, allocations: 77.09 kB / 462.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006191/0.2788, allocations: 441.1 kB / 462.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003979/0.2828, allocations: 0.7522 MB / 463.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.2862, allocations: 1.791 MB / 465.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.2863, allocations: 209.5 kB / 465.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/0.2868, allocations: 268 kB / 465.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00645/0.2932, allocations: 3.856 MB / 469.8 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.2933, allocations: 0 / 469.8 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.2935, allocations: 108 kB / 469.9 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.2936, allocations: 105.4 kB / 470 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.2989, allocations: 3.109 MB / 473.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.3153, allocations: 9.324 MB / 482.4 MB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.3191, allocations: 1.766 MB / 484.2 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.3204, allocations: 0.8828 MB / 485.1 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003699/0.3241, allocations: 2.012 MB / 487.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.3242, allocations: 55.38 kB / 487.1 MB, free: 14.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 3.046e-06/0.3242, allocations: 0 / 487.1 MB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=171): time 0.0145/0.3387, allocations: 6.899 MB / 494 MB, free: 7.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3388, allocations: 99.05 kB / 494.1 MB, free: 7.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3406, allocations: 1.404 MB / 495.5 MB, free: 6.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.3408, allocations: 53.7 kB / 495.6 MB, free: 6.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008849/0.3417, allocations: 1.204 MB / 496.8 MB, free: 4.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005197/0.3422, allocations: 0.612 MB / 497.4 MB, free: 4.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004809/0.3427, allocations: 299.5 kB / 497.7 MB, free: 3.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3428, allocations: 309.1 kB / 498 MB, free: 3.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3443, allocations: 0.8822 MB / 498.9 MB, free: 2.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.3459, allocations: 1.209 MB / 0.4884 GB, free: 1.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.3492, allocations: 2.194 MB / 0.4905 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.3492, allocations: 7.938 kB / 0.4905 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005292/0.3545, allocations: 3.056 MB / 0.4935 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3545, allocations: 11.94 kB / 0.4935 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3545, allocations: 8 kB / 0.4935 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.3564, allocations: 0.7845 MB / 0.4943 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3574, allocations: 275.6 kB / 0.4946 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.3727, allocations: 12.79 MB / 0.5071 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.374, allocations: 91.88 kB / 0.5071 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.3741, allocations: 64.06 kB / 0.5072 GB, free: 13.57 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.001798/0.3759, allocations: 0.9422 MB / 0.5081 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.3763, allocations: 167 kB / 0.5083 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.3814, allocations: 2.802 MB / 0.511 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.3814, allocations: 16 kB / 0.511 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/0.3814, allocations: 12 kB / 0.511 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.3815, allocations: 7.969 kB / 0.5111 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/0.3914, allocations: 5.502 MB / 0.5164 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3915, allocations: 0 / 0.5164 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.3923, allocations: 195.9 kB / 0.5166 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.3941, allocations: 0.7701 MB / 0.5174 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.3943, allocations: 47.97 kB / 0.5174 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.4093, allocations: 12.65 MB / 0.5298 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4093, allocations: 3.938 kB / 0.5298 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/0.4161, allocations: 4.129 MB / 0.5338 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.4165, allocations: 178.9 kB / 0.534 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.4168, allocations: 39.98 kB / 0.534 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/0.4177, allocations: 115.8 kB / 0.5341 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/0.4182, allocations: 165.3 kB / 0.5343 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.4183, allocations: 55.97 kB / 0.5343 GB, free: 1.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.4197, allocations: 0.9756 MB / 0.5353 GB, free: 188 kB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4197, allocations: 0 / 0.5353 GB, free: 188 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.2054/0.6251, allocations: 0.6141 MB / 0.5359 GB, free: 99.87 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.006816/0.6319, allocations: 4.738 MB / 0.5405 GB, free: 98.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.6365, allocations: 2.996 MB / 0.5434 GB, free: 97.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.6365, allocations: 3.438 kB / 0.5434 GB, free: 97.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.6392, allocations: 1.96 MB / 0.5453 GB, free: 96.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.6408, allocations: 329.8 kB / 0.5457 GB, free: 96.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/0.6634, allocations: 19.66 MB / 0.5649 GB, free: 81.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.6648, allocations: 1.761 MB / 0.5666 GB, free: 79.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009627/0.6658, allocations: 397.3 kB / 0.567 GB, free: 79.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008977/0.6667, allocations: 0.9562 MB / 0.5679 GB, free: 78.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6667, allocations: 0 / 0.5679 GB, free: 78.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08588/0.7525, allocations: 51.02 MB / 0.6177 GB, free: 27.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/23.66, allocations: 10.92 kB / 0.6177 GB, free: 27.8 MB / 446.1 MB " [Timeout remaining time 636] (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: 27.248547111987136]