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.00187/0.00187, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002268/0.002268, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.754 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.91 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2678, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01011/0.2779, allocations: 6.941 MB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.2837, allocations: 2.375 MB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.285, allocations: 71.56 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2862, allocations: 464.8 kB / 441 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.2896, allocations: 0.8626 MB / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.2908, allocations: 403.2 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005215/0.296, allocations: 3.25 MB / 445.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.2984, allocations: 1.533 MB / 447 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.3008, allocations: 1.456 MB / 448.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.3039, allocations: 1.716 MB / 450.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006603/0.3046, allocations: 356 kB / 450.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3058, allocations: 475.9 kB / 451 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009155/0.3068, allocations: 0.9192 MB / 451.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3086, allocations: 1.299 MB / 453.2 MB, free: 220 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005206/0.3138, allocations: 4.741 MB / 458 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3138, allocations: 3.938 kB / 458 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3138, allocations: 0 / 458 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.3139, allocations: 0 / 458 MB, free: 11.45 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.00926/0.3232, allocations: 3.655 MB / 461.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3232, allocations: 11.98 kB / 461.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007331/0.3239, allocations: 445.1 kB / 462.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.3281, allocations: 0.7406 MB / 462.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.3327, allocations: 1.803 MB / 464.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.3329, allocations: 205.7 kB / 464.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006264/0.3335, allocations: 263.9 kB / 465.1 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/0.3402, allocations: 3.845 MB / 468.9 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.3402, allocations: 0 / 468.9 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/0.3405, allocations: 108 kB / 469 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.3406, allocations: 105.4 kB / 469.1 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/0.3463, allocations: 3.105 MB / 472.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.3639, allocations: 9.292 MB / 481.5 MB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.3678, allocations: 1.759 MB / 483.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.3693, allocations: 0.8758 MB / 484.2 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004489/0.3738, allocations: 1.997 MB / 486.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.3738, allocations: 47.44 kB / 486.2 MB, free: 14.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.3738, allocations: 3.938 kB / 486.2 MB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006415/0.3803, allocations: 2.499 MB / 488.7 MB, free: 12.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.3803, allocations: 89.92 kB / 488.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.3824, allocations: 1.415 MB / 490.2 MB, free: 10.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.3825, allocations: 41.7 kB / 490.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009396/0.3834, allocations: 1.211 MB / 491.5 MB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.3837, allocations: 384.7 kB / 491.8 MB, free: 8.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.3841, allocations: 218.9 kB / 492.1 MB, free: 8.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3842, allocations: 349.9 kB / 492.4 MB, free: 8.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.3852, allocations: 0.5686 MB / 493 MB, free: 7.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.3864, allocations: 0.8451 MB / 493.8 MB, free: 6.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.3886, allocations: 1.459 MB / 495.3 MB, free: 5.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3887, allocations: 4 kB / 495.3 MB, free: 5.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003681/0.3923, allocations: 1.962 MB / 497.2 MB, free: 3.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3924, allocations: 14.12 kB / 497.2 MB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3924, allocations: 11.94 kB / 497.3 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3934, allocations: 400.3 kB / 497.7 MB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/0.3943, allocations: 219.7 kB / 497.9 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008237/0.4025, allocations: 6.245 MB / 0.4923 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.4036, allocations: 143 kB / 0.4924 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.4037, allocations: 47.98 kB / 0.4925 GB, free: 11.98 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.001522/0.4052, allocations: 0.8721 MB / 0.4933 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.4055, allocations: 147.1 kB / 0.4935 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.4086, allocations: 1.64 MB / 0.4951 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4086, allocations: 8 kB / 0.4951 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.4087, allocations: 8 kB / 0.4951 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4087, allocations: 7.984 kB / 0.4951 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007205/0.4159, allocations: 3.731 MB / 0.4987 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4159, allocations: 4.188 kB / 0.4987 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.4165, allocations: 135.8 kB / 0.4989 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009994/0.4175, allocations: 389 kB / 0.4992 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.4175, allocations: 39.97 kB / 0.4993 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007947/0.4255, allocations: 6.23 MB / 0.5054 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4255, allocations: 4.062 kB / 0.5054 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.4298, allocations: 2.481 MB / 0.5078 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.4302, allocations: 170.9 kB / 0.508 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.4305, allocations: 31.98 kB / 0.508 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008636/0.4314, allocations: 83.92 kB / 0.5081 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.4316, allocations: 104.5 kB / 0.5082 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/0.4317, allocations: 35.98 kB / 0.5082 GB, free: 11.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.4332, allocations: 0.9795 MB / 0.5092 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4332, allocations: 0 / 0.5092 GB, free: 10.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001936/0.4352, allocations: 0.693 MB / 0.5098 GB, free: 9.828 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.004867/0.44, allocations: 3.083 MB / 0.5128 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.4436, allocations: 1.737 MB / 0.5145 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/0.4436, allocations: 4 kB / 0.5145 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.4457, allocations: 1.081 MB / 0.5156 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.4476, allocations: 312.5 kB / 0.5159 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/0.4761, allocations: 16.02 MB / 0.5315 GB, free: 3.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.4785, allocations: 1.625 MB / 0.5331 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001044/0.4795, allocations: 343 kB / 0.5335 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/0.4808, allocations: 0.882 MB / 0.5343 GB, free: 116 kB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4808, allocations: 4 kB / 0.5343 GB, free: 112 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2605/0.7413, allocations: 41.38 MB / 0.5747 GB, free: 71.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.83, allocations: 7.984 kB / 0.5747 GB, free: 71.28 MB / 446.1 MB " [Timeout remaining time 646] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.18227681517601]