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.0008367/0.0008367, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008408/0.0008408, allocations: 170.3 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9066/0.9066, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.969e-05, allocations: 2.844 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005783/0.005813, allocations: 6.951 MB / 331.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.009933, allocations: 2.398 MB / 333.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.01072, allocations: 71.56 kB / 334 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.01147, allocations: 456.7 kB / 334.4 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.01315, allocations: 0.8813 MB / 335.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.01375, allocations: 407.1 kB / 335.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.01624, allocations: 3.345 MB / 339.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.01747, allocations: 1.545 MB / 340.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.01923, allocations: 2.098 MB / 342.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.02047, allocations: 1.543 MB / 344.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.02073, allocations: 356 kB / 344.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.02134, allocations: 483.8 kB / 345.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.02182, allocations: 0.9425 MB / 346 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007803/0.0226, allocations: 1.103 MB / 347.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.02566, allocations: 4.76 MB / 351.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.02566, allocations: 3.938 kB / 351.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02566, allocations: 0 / 351.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.801e-05/0.02571, allocations: 7.984 kB / 351.9 MB, free: 4.477 MB / 314.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.004727/0.03044, allocations: 3.616 MB / 355.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.03049, allocations: 8.031 kB / 355.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004164/0.03091, allocations: 441 kB / 355.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.03283, allocations: 0.7484 MB / 356.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.03485, allocations: 1.787 MB / 358.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.03494, allocations: 193.7 kB / 358.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.03518, allocations: 272.3 kB / 358.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.03909, allocations: 3.853 MB / 362.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.03913, allocations: 4 kB / 362.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.03928, allocations: 104 kB / 362.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.03935, allocations: 109.4 kB / 363 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.04267, allocations: 3.109 MB / 366.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009953/0.05262, allocations: 9.315 MB / 375.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.05487, allocations: 1.752 MB / 377.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008682/0.05574, allocations: 0.8645 MB / 378 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/0.05814, allocations: 2.004 MB / 380 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.05817, allocations: 47.56 kB / 380.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.557e-06/0.05817, allocations: 0 / 380.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003542/0.06172, allocations: 2.507 MB / 382.6 MB, free: 5.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.06175, allocations: 90.11 kB / 382.7 MB, free: 5.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.06293, allocations: 1.415 MB / 384.1 MB, free: 3.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.06297, allocations: 41.7 kB / 384.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.06345, allocations: 1.214 MB / 385.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.06362, allocations: 376.8 kB / 385.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.06381, allocations: 210.9 kB / 385.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.0639, allocations: 353.9 kB / 386.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.06443, allocations: 0.5686 MB / 386.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.06507, allocations: 0.8457 MB / 387.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.06633, allocations: 1.464 MB / 389.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.06634, allocations: 0 / 389.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001798/0.06813, allocations: 1.958 MB / 391.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.06815, allocations: 8 kB / 391.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.06816, allocations: 8 kB / 391.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.0687, allocations: 403.8 kB / 391.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.06909, allocations: 211.7 kB / 391.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.0734, allocations: 6.24 MB / 398 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.07382, allocations: 143 kB / 398.1 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.07387, allocations: 51.98 kB / 398.1 MB, free: 5.051 MB / 362.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.0008395/0.0747, allocations: 0.8752 MB / 399 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.07482, allocations: 147.1 kB / 399.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.0764, allocations: 1.631 MB / 400.8 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.07641, allocations: 12 kB / 400.8 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.07642, allocations: 8 kB / 400.8 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.07642, allocations: 15.97 kB / 400.8 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.07984, allocations: 3.73 MB / 404.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.07984, allocations: 8.188 kB / 404.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.0801, allocations: 135.7 kB / 404.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.08057, allocations: 401.3 kB / 405.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.08061, allocations: 31.98 kB / 405.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.08467, allocations: 6.231 MB / 411.4 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.08468, allocations: 4.062 kB / 411.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.0868, allocations: 2.467 MB / 413.8 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.08694, allocations: 174.9 kB / 414 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.681e-05/0.08703, allocations: 35.98 kB / 414 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.08738, allocations: 87.84 kB / 414.1 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.08751, allocations: 104.8 kB / 414.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.08755, allocations: 31.98 kB / 414.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007469/0.0883, allocations: 0.9795 MB / 415.2 MB, free: 3.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0883, allocations: 8 kB / 415.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001053/0.08935, allocations: 0.6775 MB / 415.9 MB, free: 2.902 MB / 378.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.002473/0.09182, allocations: 3.076 MB / 419 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.09346, allocations: 1.737 MB / 420.7 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.09347, allocations: 9.188 kB / 420.7 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009395/0.0944, allocations: 1.09 MB / 421.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.0952, allocations: 296.4 kB / 422.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.109, allocations: 16.03 MB / 438.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/0.11, allocations: 1.625 MB / 439.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004958/0.1104, allocations: 347 kB / 440.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/0.1111, allocations: 0.8791 MB / 441 MB, free: 9.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1111, allocations: 0 / 441 MB, free: 9.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1654/0.2764, allocations: 41.44 MB / 482.4 MB, free: 90.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.03, allocations: 11.19 kB / 482.4 MB, free: 90.46 MB / 410.7 MB " [Timeout remaining time 652] (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/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_4.1.0_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: 10.080413763411343]