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.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001396/0.001396, allocations: 207.4 kB / 23.73 MB, free: 4.379 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.366/1.366, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001396/0.001396, allocations: 51.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2626, allocations: 53.37 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01002/0.2726, allocations: 6.93 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005647/0.2782, allocations: 2.379 MB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.2796, allocations: 71.56 kB / 440.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.2809, allocations: 460.9 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.2838, allocations: 0.8781 MB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2849, allocations: 387.2 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004398/0.2893, allocations: 3.256 MB / 445.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.2916, allocations: 1.584 MB / 447 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.2938, allocations: 1.457 MB / 448.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.2964, allocations: 1.716 MB / 450.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005067/0.2969, allocations: 364 kB / 450.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009936/0.2979, allocations: 487.9 kB / 451 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009125/0.2988, allocations: 0.9153 MB / 451.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3006, allocations: 1.303 MB / 453.2 MB, free: 400 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005375/0.306, allocations: 4.734 MB / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.306, allocations: 0 / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.306, allocations: 0 / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.669e-05/0.3061, allocations: 0 / 458 MB, free: 11.64 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.008956/0.315, allocations: 3.655 MB / 461.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3151, allocations: 8.031 kB / 461.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006951/0.3158, allocations: 453 kB / 462.1 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.3198, allocations: 0.7367 MB / 462.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/0.3239, allocations: 1.799 MB / 464.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3241, allocations: 201.7 kB / 464.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/0.3246, allocations: 267.9 kB / 465.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007136/0.3317, allocations: 3.852 MB / 468.9 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.3317, allocations: 0 / 468.9 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.332, allocations: 112 kB / 469 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3322, allocations: 101.4 kB / 469.1 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.3377, allocations: 3.097 MB / 472.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.3551, allocations: 9.308 MB / 481.5 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.3592, allocations: 1.766 MB / 483.3 MB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.3606, allocations: 0.8645 MB / 484.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004446/0.365, allocations: 1.996 MB / 486.2 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.3651, allocations: 51.42 kB / 486.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.606e-06/0.3651, allocations: 0 / 486.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006441/0.3715, allocations: 2.491 MB / 488.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3716, allocations: 93.92 kB / 488.8 MB, free: 12.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.3736, allocations: 1.419 MB / 490.2 MB, free: 10.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.394e-05/0.3737, allocations: 45.7 kB / 490.3 MB, free: 10.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009349/0.3747, allocations: 1.211 MB / 491.5 MB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.375, allocations: 380.8 kB / 491.8 MB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.3754, allocations: 218.9 kB / 492.1 MB, free: 8.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3755, allocations: 353.9 kB / 492.4 MB, free: 8.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009273/0.3765, allocations: 0.5608 MB / 493 MB, free: 7.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.3777, allocations: 0.8535 MB / 493.8 MB, free: 6.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.3799, allocations: 1.459 MB / 495.3 MB, free: 5.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3799, allocations: 4 kB / 495.3 MB, free: 5.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003536/0.3834, allocations: 1.954 MB / 497.2 MB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3834, allocations: 8 kB / 497.2 MB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3834, allocations: 8 kB / 497.3 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3844, allocations: 398.9 kB / 497.6 MB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008395/0.3853, allocations: 211.6 kB / 497.8 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008198/0.3935, allocations: 6.265 MB / 0.4923 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3946, allocations: 139.1 kB / 0.4924 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3947, allocations: 44 kB / 0.4925 GB, free: 12.17 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.001491/0.3962, allocations: 0.872 MB / 0.4933 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.3965, allocations: 155.1 kB / 0.4935 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.3996, allocations: 1.628 MB / 0.4951 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3996, allocations: 8 kB / 0.4951 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.3996, allocations: 8 kB / 0.4951 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.3996, allocations: 11.91 kB / 0.4951 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.4067, allocations: 3.731 MB / 0.4987 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4067, allocations: 0 / 0.4987 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.4073, allocations: 136 kB / 0.4989 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.4083, allocations: 398.5 kB / 0.4992 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.4084, allocations: 35.98 kB / 0.4993 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00779/0.4162, allocations: 6.229 MB / 0.5054 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4162, allocations: 3.938 kB / 0.5054 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.4203, allocations: 2.482 MB / 0.5078 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.4208, allocations: 178.8 kB / 0.508 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.421, allocations: 24 kB / 0.508 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007871/0.4218, allocations: 91.84 kB / 0.5081 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.422, allocations: 100.6 kB / 0.5082 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.4221, allocations: 31.98 kB / 0.5082 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.4235, allocations: 0.9795 MB / 0.5092 GB, free: 10.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4235, allocations: 0 / 0.5092 GB, free: 10.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001828/0.4253, allocations: 0.6891 MB / 0.5098 GB, free: 10.03 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.004365/0.4297, allocations: 3.091 MB / 0.5128 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.4328, allocations: 1.732 MB / 0.5145 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4328, allocations: 4 kB / 0.5145 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.4347, allocations: 1.086 MB / 0.5156 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.4363, allocations: 300.6 kB / 0.5159 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/0.4616, allocations: 16.04 MB / 0.5316 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.4635, allocations: 1.621 MB / 0.5331 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000964/0.4645, allocations: 346.9 kB / 0.5335 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.4656, allocations: 0.8781 MB / 0.5343 GB, free: 308 kB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4656, allocations: 0 / 0.5343 GB, free: 308 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/0.7152, allocations: 41.86 MB / 0.5752 GB, free: 71.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.03, allocations: 4.062 kB / 0.5752 GB, free: 71.29 MB / 446.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: 15.903345761005767]