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.001552/0.001552, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001913/0.001913, allocations: 215.4 kB / 23.74 MB, free: 4.656 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.992 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="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 0.001734/0.001734, allocations: 47.92 kB / 377.8 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2876, allocations: 53.37 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01008/0.2977, allocations: 7.919 MB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.3033, allocations: 2.515 MB / 441.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.3048, allocations: 67.56 kB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.3062, allocations: 464.9 kB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.3093, allocations: 0.8782 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3106, allocations: 407.1 kB / 443.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004857/0.3155, allocations: 3.256 MB / 446.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.3181, allocations: 1.58 MB / 448.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.3204, allocations: 1.457 MB / 449.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.3234, allocations: 1.72 MB / 451.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009674/0.3243, allocations: 356 kB / 451.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.326, allocations: 491.9 kB / 452.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.3273, allocations: 0.9153 MB / 453.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.3303, allocations: 1.614 MB / 454.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005804/0.3361, allocations: 4.718 MB / 459.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3361, allocations: 4 kB / 459.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3361, allocations: 0 / 459.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.618e-05/0.3362, allocations: 0 / 459.5 MB, free: 10.35 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.008817/0.345, allocations: 3.655 MB / 463.1 MB, free: 6.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3451, allocations: 8.031 kB / 463.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006825/0.3458, allocations: 441 kB / 463.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.3496, allocations: 0.7406 MB / 464.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.3535, allocations: 1.795 MB / 466.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.3536, allocations: 197.7 kB / 466.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004269/0.3541, allocations: 271.9 kB / 466.6 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006364/0.3604, allocations: 3.63 MB / 470.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.3605, allocations: 0 / 470.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.3607, allocations: 112 kB / 470.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3608, allocations: 105.4 kB / 470.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005486/0.3663, allocations: 3.097 MB / 473.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.3853, allocations: 10.13 MB / 483.6 MB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.3893, allocations: 1.773 MB / 485.4 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.3909, allocations: 0.8645 MB / 486.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004389/0.3953, allocations: 2.187 MB / 488.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.3953, allocations: 51.44 kB / 488.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.555e-06/0.3953, allocations: 0 / 488.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006499/0.4018, allocations: 2.503 MB / 491 MB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.4019, allocations: 89.92 kB / 491.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.4042, allocations: 1.404 MB / 492.5 MB, free: 8.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.4043, allocations: 41.7 kB / 492.5 MB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009505/0.4052, allocations: 1.203 MB / 493.7 MB, free: 7.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.4056, allocations: 388.7 kB / 494.1 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.406, allocations: 222.9 kB / 494.3 MB, free: 6.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4062, allocations: 349.9 kB / 494.7 MB, free: 6.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4072, allocations: 0.5647 MB / 495.2 MB, free: 5.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4084, allocations: 0.8457 MB / 496.1 MB, free: 4.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.4107, allocations: 1.459 MB / 497.5 MB, free: 3.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.4107, allocations: 4 kB / 497.5 MB, free: 3.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003555/0.4142, allocations: 1.954 MB / 499.5 MB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.4143, allocations: 12 kB / 499.5 MB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.4143, allocations: 8.156 kB / 499.5 MB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4153, allocations: 402.8 kB / 499.9 MB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.4162, allocations: 215.6 kB / 0.4884 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008547/0.4247, allocations: 6.34 MB / 0.4946 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.4258, allocations: 135.1 kB / 0.4947 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.426, allocations: 51.98 kB / 0.4948 GB, free: 10.07 MB / 414.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 (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.001708/0.4277, allocations: 0.8681 MB / 0.4956 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.4281, allocations: 147.2 kB / 0.4958 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.4313, allocations: 1.64 MB / 0.4974 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.4313, allocations: 15.94 kB / 0.4974 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.4313, allocations: 4 kB / 0.4974 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.4314, allocations: 11.92 kB / 0.4974 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.439, allocations: 3.898 MB / 0.5012 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.439, allocations: 3.938 kB / 0.5012 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.4396, allocations: 135.8 kB / 0.5013 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.4406, allocations: 395.6 kB / 0.5017 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.4407, allocations: 31.98 kB / 0.5017 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008176/0.4489, allocations: 6.309 MB / 0.5079 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4489, allocations: 4.062 kB / 0.5079 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/0.4533, allocations: 2.478 MB / 0.5103 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.4538, allocations: 174.9 kB / 0.5105 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.4541, allocations: 35.98 kB / 0.5105 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.455, allocations: 79.86 kB / 0.5106 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.4552, allocations: 108.6 kB / 0.5107 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/0.4553, allocations: 35.98 kB / 0.5107 GB, free: 9.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.457, allocations: 0.9756 MB / 0.5117 GB, free: 8.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.457, allocations: 0 / 0.5117 GB, free: 8.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002091/0.4591, allocations: 0.6892 MB / 0.5124 GB, free: 7.672 MB / 430.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 (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.004902/0.464, allocations: 3.078 MB / 0.5154 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003463/0.4675, allocations: 1.741 MB / 0.5171 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.4675, allocations: 0 / 0.5171 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.4694, allocations: 1.086 MB / 0.5181 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.4713, allocations: 308.5 kB / 0.5184 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/0.5009, allocations: 16.08 MB / 0.5341 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2034/0.7043, allocations: 2.189 MB / 0.5363 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.7055, allocations: 341.4 kB / 0.5366 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.7064, allocations: 0.8815 MB / 0.5375 GB, free: 100.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.7064, allocations: 0 / 0.5375 GB, free: 100.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07494/0.7813, allocations: 40.22 MB / 0.5767 GB, free: 70 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.46, allocations: 8.719 kB / 0.5767 GB, free: 70 MB / 446.1 MB " [Timeout remaining time 644] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.700089429039508]