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.001669/0.001669, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.433/1.433, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.001897/0.001897, allocations: 63.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2748, allocations: 53.4 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009716/0.2845, allocations: 6.931 MB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.2899, allocations: 2.382 MB / 441.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.291, allocations: 67.56 kB / 441.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.2923, allocations: 460.9 kB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.2952, allocations: 0.8665 MB / 442.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2963, allocations: 399.2 kB / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005099/0.3014, allocations: 3.246 MB / 446.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.304, allocations: 1.58 MB / 447.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.3063, allocations: 1.464 MB / 449.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.3095, allocations: 1.712 MB / 451 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008945/0.3104, allocations: 360 kB / 451.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.312, allocations: 491.8 kB / 451.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.3132, allocations: 0.9114 MB / 452.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.3154, allocations: 1.307 MB / 454.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006301/0.3217, allocations: 4.745 MB / 458.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3217, allocations: 4 kB / 458.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3217, allocations: 0 / 458.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001238/0.3218, allocations: 0 / 458.8 MB, free: 11.41 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.009915/0.3318, allocations: 3.647 MB / 462.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.3318, allocations: 12.02 kB / 462.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001232/0.3319, allocations: 81.09 kB / 462.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000747/0.3327, allocations: 445.1 kB / 463 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.3371, allocations: 0.7406 MB / 463.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.3416, allocations: 1.803 MB / 465.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.3418, allocations: 201.5 kB / 465.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006217/0.3425, allocations: 268 kB / 466 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007656/0.3501, allocations: 3.849 MB / 469.8 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/0.3502, allocations: 7.938 kB / 469.8 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/0.3505, allocations: 112 kB / 469.9 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.3506, allocations: 109.5 kB / 470 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.3571, allocations: 3.101 MB / 473.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.3766, allocations: 9.324 MB / 482.5 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.3809, allocations: 1.769 MB / 484.2 MB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.3824, allocations: 0.8713 MB / 485.1 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004365/0.3868, allocations: 2.028 MB / 487.1 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.3869, allocations: 47.44 kB / 487.2 MB, free: 14.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 4.067e-06/0.3869, allocations: 0 / 487.2 MB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=171): time 0.01666/0.4035, allocations: 6.903 MB / 494.1 MB, free: 7.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.4036, allocations: 99.11 kB / 494.2 MB, free: 7.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.4058, allocations: 1.4 MB / 495.6 MB, free: 5.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.406, allocations: 53.7 kB / 495.6 MB, free: 5.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.4071, allocations: 1.204 MB / 496.8 MB, free: 4.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006524/0.4077, allocations: 0.6081 MB / 497.5 MB, free: 4.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/0.4083, allocations: 303.5 kB / 497.7 MB, free: 3.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4084, allocations: 305.1 kB / 498 MB, free: 3.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.4101, allocations: 0.8938 MB / 498.9 MB, free: 2.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.412, allocations: 1.2 MB / 0.4884 GB, free: 1.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.4155, allocations: 2.198 MB / 0.4906 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4155, allocations: 4 kB / 0.4906 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00589/0.4214, allocations: 3.052 MB / 0.4935 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.4215, allocations: 12.03 kB / 0.4936 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.4215, allocations: 12 kB / 0.4936 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.4236, allocations: 0.7794 MB / 0.4943 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.4249, allocations: 283.6 kB / 0.4946 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.4423, allocations: 12.79 MB / 0.5071 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4437, allocations: 87.89 kB / 0.5072 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.4439, allocations: 63.98 kB / 0.5072 GB, free: 13.37 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.001773/0.4456, allocations: 0.9539 MB / 0.5082 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.4461, allocations: 163 kB / 0.5083 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/0.4515, allocations: 2.802 MB / 0.5111 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.4515, allocations: 16 kB / 0.5111 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.4515, allocations: 12 kB / 0.5111 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.4516, allocations: 7.969 kB / 0.5111 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.4625, allocations: 5.502 MB / 0.5165 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4625, allocations: 0 / 0.5165 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.4635, allocations: 195.7 kB / 0.5167 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.4656, allocations: 0.7754 MB / 0.5174 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.4657, allocations: 51.91 kB / 0.5175 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.4826, allocations: 12.65 MB / 0.5298 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4826, allocations: 0 / 0.5298 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007527/0.4901, allocations: 4.133 MB / 0.5338 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.4908, allocations: 178.9 kB / 0.534 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.491, allocations: 36 kB / 0.5341 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.4921, allocations: 115.8 kB / 0.5342 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/0.4925, allocations: 165.3 kB / 0.5343 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.4927, allocations: 55.97 kB / 0.5344 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2618/0.7545, allocations: 0.9735 MB / 0.5353 GB, free: 99.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7545, allocations: 0.5625 kB / 0.5353 GB, free: 99.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003489/0.758, allocations: 0.6127 MB / 0.5359 GB, free: 99.62 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.007594/0.7656, allocations: 4.747 MB / 0.5406 GB, free: 98.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004976/0.7705, allocations: 2.995 MB / 0.5435 GB, free: 97.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.7706, allocations: 2.25 kB / 0.5435 GB, free: 97.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.7736, allocations: 1.967 MB / 0.5454 GB, free: 96.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.7755, allocations: 327.5 kB / 0.5457 GB, free: 96.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/0.8025, allocations: 19.65 MB / 0.5649 GB, free: 81.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.8041, allocations: 1.761 MB / 0.5666 GB, free: 79.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.8052, allocations: 401.2 kB / 0.567 GB, free: 78.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009873/0.8062, allocations: 0.9562 MB / 0.5679 GB, free: 77.87 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8062, allocations: 0.875 kB / 0.5679 GB, free: 77.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09369/0.8999, allocations: 51.01 MB / 0.6178 GB, free: 27.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.66/24.56, allocations: 4.062 kB / 0.6178 GB, free: 27.3 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.347253552055918]