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.001381/0.001381, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.00161/0.00161, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.473/1.473, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.001832/0.001832, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1226, allocations: 53.33 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2434/0.366, allocations: 7.891 MB / 434.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.3707, allocations: 2.496 MB / 436.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.3719, allocations: 66.62 kB / 436.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.373, allocations: 467.9 kB / 437.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.3754, allocations: 0.8795 MB / 438.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.3764, allocations: 397.3 kB / 438.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.3804, allocations: 3.245 MB / 441.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.3831, allocations: 2.133 MB / 443.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.3853, allocations: 1.452 MB / 445.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.3879, allocations: 1.716 MB / 447 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006697/0.3885, allocations: 359.5 kB / 447.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3899, allocations: 499.8 kB / 447.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008242/0.3907, allocations: 0.9042 MB / 448.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.3926, allocations: 1.614 MB / 450.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006741/0.3994, allocations: 4.714 MB / 455.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3994, allocations: 0 / 455.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3994, allocations: 1.562 kB / 455.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.3995, allocations: 3.938 kB / 455.1 MB, free: 13.87 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.01068/0.4102, allocations: 3.719 MB / 458.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4103, allocations: 9.562 kB / 458.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000859/0.4111, allocations: 446.9 kB / 459.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004367/0.4155, allocations: 0.7384 MB / 460 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.4199, allocations: 1.857 MB / 461.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.4201, allocations: 201.4 kB / 462.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006176/0.4207, allocations: 265.8 kB / 462.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007564/0.4283, allocations: 3.623 MB / 466 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.4283, allocations: 1.156 kB / 466 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.4286, allocations: 107.8 kB / 466.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.4288, allocations: 106.9 kB / 466.2 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/0.4348, allocations: 3.11 MB / 469.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.455, allocations: 10.29 MB / 479.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/0.4607, allocations: 4.476 MB / 484 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.4623, allocations: 0.8717 MB / 484.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004741/0.467, allocations: 2.646 MB / 487.6 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.4671, allocations: 51.36 kB / 487.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.4671, allocations: 7.938 kB / 487.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006745/0.4738, allocations: 2.642 MB / 490.3 MB, free: 15.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.4739, allocations: 97.92 kB / 490.4 MB, free: 15.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.4762, allocations: 1.4 MB / 491.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4763, allocations: 49.64 kB / 491.8 MB, free: 14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009665/0.4773, allocations: 1.203 MB / 493 MB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.4777, allocations: 384.7 kB / 493.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.478, allocations: 218.9 kB / 493.6 MB, free: 12.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4782, allocations: 353.9 kB / 493.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.4792, allocations: 0.5647 MB / 494.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.4805, allocations: 0.8491 MB / 495.4 MB, free: 10.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.4828, allocations: 1.457 MB / 496.8 MB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4828, allocations: 4 kB / 496.8 MB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003766/0.4866, allocations: 1.961 MB / 498.8 MB, free: 6.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4866, allocations: 8 kB / 498.8 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.4866, allocations: 8 kB / 498.8 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4878, allocations: 399.5 kB / 499.2 MB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/0.4886, allocations: 219.6 kB / 499.4 MB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008463/0.4971, allocations: 6.532 MB / 0.4941 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4984, allocations: 143.1 kB / 0.4942 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.4985, allocations: 44 kB / 0.4942 GB, free: 15.15 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.001714/0.5003, allocations: 0.8721 MB / 0.4951 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.5006, allocations: 143.1 kB / 0.4952 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.5039, allocations: 1.634 MB / 0.4968 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5039, allocations: 12 kB / 0.4968 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.5039, allocations: 8 kB / 0.4969 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.5039, allocations: 7.969 kB / 0.4969 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/0.5112, allocations: 3.922 MB / 0.5007 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5112, allocations: 0 / 0.5007 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.5118, allocations: 136 kB / 0.5008 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.5128, allocations: 400.6 kB / 0.5012 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.5129, allocations: 27.98 kB / 0.5012 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008405/0.5213, allocations: 6.515 MB / 0.5076 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5213, allocations: 7.969 kB / 0.5076 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.5259, allocations: 2.482 MB / 0.51 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006443/0.5265, allocations: 255.9 kB / 0.5103 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5267, allocations: 24 kB / 0.5103 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/0.5275, allocations: 95.84 kB / 0.5104 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.5278, allocations: 92.67 kB / 0.5105 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.5279, allocations: 35.98 kB / 0.5105 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.5295, allocations: 0.9795 MB / 0.5115 GB, free: 13.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5295, allocations: 0 / 0.5115 GB, free: 13.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002463/0.5319, allocations: 0.6891 MB / 0.5121 GB, free: 12.38 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.004895/0.5368, allocations: 3.094 MB / 0.5152 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.5403, allocations: 1.738 MB / 0.5168 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.5403, allocations: 0 / 0.5168 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.5424, allocations: 1.091 MB / 0.5179 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.5443, allocations: 302.2 kB / 0.5182 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/0.5735, allocations: 16.04 MB / 0.5339 GB, free: 5.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.5759, allocations: 2.192 MB / 0.536 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.577, allocations: 343 kB / 0.5363 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.5783, allocations: 0.8781 MB / 0.5372 GB, free: 2.094 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5783, allocations: 0 / 0.5372 GB, free: 2.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.6806, allocations: 39.29 MB / 0.5756 GB, free: 11.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.08, allocations: 15.98 kB / 0.5756 GB, free: 11.16 MB / 494.1 MB " [Timeout remaining time 647] (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: 16.330974788870662]